cURL
curl --request POST \ --url https://api.givebutter.com/v1/campaign-items/tickets \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "price": 1, "event_id": 123, "total_quantity": 1, "subtype": "physical", "active": true, "retail_price": 1, "description": "<string>", "bundle_only": true, "hide_remaining": true, "scope": "registrant", "bundles": [ "<string>" ], "custom_fields": [ "<string>" ], "pictures": [ "<string>" ] } '
{ "id": "<string>", "campaign_id": "<string>", "name": "<string>", "description": "<string>", "price": "<string>", "total_quantity": "<string>", "subtype": "<string>", "active": "<string>", "retail_price": "<string>", "bundle_only": "<string>", "hide_remaining": "<string>", "scope": "<string>", "bundles": "<string>", "custom_fields": "<string>", "pictures": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
255
x >= 0
physical
digital
hybrid
5000
registrant
event
CampaignItemTicketResource
Was this page helpful?