...
Code Block language bash theme RDark firstline 1 title Accept order 190840 linenumbers true curl -i \ -X POST \ -H "X-Signature: sDJX751LMpjn2tIrNxIy6DO+nse/El9ZWQDwlIooJoI=" \ -H "X-Token: 11hafc2ed4cd788b932cd4b542e6c2b6" \ -H "Content-Type: application/json" \ -d '{"reviewer_id":2487,"seats":[911,912,913,914,915]}' \ --url 'https://api.sandbox.ticketevolution.com/v9/orders/190840/accept?' HTTP/1.1 200 OK Content-Type: application/json; charset=utf-8 … { "id": 190823, "oid": " 61449-190823", "shipments": [ { "id": 78817, "url": "/shipments/78817", "type": "TBD", … } … }
See that the shipment type is
TBD
in the response body of your POST.Use Shipments / Update to PUT to
/v9/shipments/78817
to indicate that you will be transferring the tickets to an email address supplied in the response body of this PUT.Code Block language bash theme RDark title Shipments / Update linenumbers true curl -i \ -X PUT \ -H "X-Signature: oDL98QMt6dA96tDtGYEnnD7fU5AtY9LQKUUzb7NNMC8=" \ -H "X-Token: 11hafc2ed4cd788b932cd4b542e6c2b6" \ -H "Content-Type: application/json" \ -d '{"tm_mobile_shipment_type":"TMMobile"}' \ --url 'https://api.sandbox.ticketevolution.com/v9/shipments/78817?' HTTP/1.1 200 OK Content-Type: application/json; charset=utf-8 … { "id": 78826, "url": "/shipment/78826", "type": "TMMobile", "state": "pending", "ship_to_name": "Moe Szyslak", "email_address": { "address": "moe.szyslak@example.com", … } … }
- See in the response body that a new shipment (78826) has been created and returned and that the email address and name to which you should transfer the tickets is provided.
- Transfer the tickets to the provided email address (
moe.szyslak@example.com
in this example) and name (Moe Szyslak in this example). Use Shipments / Complete to PUT/POST to
/v9/shipments/78826/complete
to mark the shipment and order complete.Code Block language bash theme RDark title Shipments / Complete linenumbers true curl -i \ -X PUT \ -H "X-Signature: 0HzGka1xfouV1eqxes9twAs/sRxedYavwdSrUA3L4HQ=" \ -H "X-Token: 11hafc2ed4cd788b932cd4b542e6c2b6" \ -H "Content-Type: application/json" \ --url 'https://api.sandbox.ticketevolution.com/v9/shipments/78826/complete?' HTTP/1.1 200 OK Content-Type: application/json; charset=utf-8 … { "id": 78826, "url": "/shipment/78826", "type": "TMMobile", "state": "delivered", … }
- Simply use Shipments / Complete to PUT/POST to
/v9/shipments/78826/complete
and supply the transfer URL (if you have one) and mark the shipment and order complete. As of 2018-11-29 you may optionally include a URL to claim the tickets with your TM Mobile complete request. Including the URL will reduce the need for you to be contacted if the recipient does not receive the transfer email from the primary box office.Code Block language bash theme RDark title Shipments / Complete linenumbers true curl -i \ -X PUT \ -H "X-Signature: 0HzGka1xfouV1eqxes9twAs/sRxedYavwdSrUA3L4HQ=" \ -H "X-Token: 11hafc2ed4cd788b932cd4b542e6c2b6" \ -H "Content-Type: application/json" \ -d '{"tm_mobile_link":"https://am.ticketmaster.com/tdgarden/claim?123123lets213232go123rangers1231241"}' \ --url 'https://api.sandbox.ticketevolution.com/v9/shipments/78826/complete?' HTTP/1.1 200 OK Content-Type: application/json; charset=utf-8 … { "id": 78826, "url": "/shipment/78826", "type": "TMMobileLinkTMMobile", "tm_mobile_link": "https://am.ticketmaster.com/tdgarden/claim?123123lets213232go123rangers1231241", "state": "delivered", … }
...