HOW TO: Automate Flash & TM Mobile Transfers
Deliver TM Mobile tickets by providing a URL
Accept order 190840
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
TBDin the response body of your POST.Use Shipments / Update to PUT to
/v9/shipments/78817to indicate that you will be supplying a URL. Optionally supply atransfer_source(see the list at Shipments / Complete ) which will help prevent our service team from needing to contact you about delivery issues.Shipments / Update
curl -i \ -X PUT \ -H "X-Signature: oDL98QMt6dA96tDtGYEnnD7fU5AtY9LQKUUzb7NNMC8=" \ -H "X-Token: 11hafc2ed4cd788b932cd4b542e6c2b6" \ -H "Content-Type: application/json" \ -d '{"mobile_transfer_type":"TMMobileLink"}' \ --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": "TMMobileLink", "state": "pending", … }See in the response body that a new shipment (78826) has been created and returned.
Use Shipments / Complete to PUT to
/v9/shipments/78826/completeto supply the transfer URL and mark the shipment and order complete.Shipments / Complete
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","transfer_source":"AM"}' \ --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": "TMMobileLink", "tm_mobile_link": "https://am.ticketmaster.com/tdgarden/claim?123123lets213232go123rangers1231241", "state": "delivered", … }
Transfer TM Mobile tickets to a provided email address and optionally provide a URL
Accept order 190840
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
TBDin the response body of your POST.Use Shipments / Update to PUT to
/v9/shipments/78817to indicate that you will be transferring the tickets to an email address supplied in the response body of this PUT.Shipments / Update
curl -i \ -X PUT \ -H "X-Signature: oDL98QMt6dA96tDtGYEnnD7fU5AtY9LQKUUzb7NNMC8=" \ -H "X-Token: 11hafc2ed4cd788b932cd4b542e6c2b6" \ -H "Content-Type: application/json" \ -d '{"mobile_transfer_type":"TMMobile","transfer_source":"AM"}' \ --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.comin this example) and name (Moe Szyslak in this example).Simply use Shipments / Complete to PUT to
/v9/shipments/78826/completeand supply the transfer URL (if you have one) and mark the shipment and order complete. You may optionally include a URL to claim the tickets with your TM Mobile complete request. Optionally supply atransfer_source(see the list at Shipments / Complete ). Including thetransfer_sourceandtm_mobile_linkwill reduce the need for you to be contacted if the recipient does not receive the transfer email from the primary box office.Shipments / Complete
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": "TMMobile", "tm_mobile_link": "https://am.ticketmaster.com/tdgarden/claim?123123lets213232go123rangers1231241", "state": "delivered", … }
Transfer Flash Seats tickets to a provided email address
Accept order 190840
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": 190840, "oid": "61455-190840", "shipments": [ { "id": 78823, "url": "/shipments/78823", "type": "FlashSeats", "state": "pending", "ship_to_name": "Moe Szyslak", "email_address": { "address": "moe.szyslak@example.com", … } … } … }See in the response body that the shipment type is FlashSeats and that the email address 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 to
/v9/shipments/78823/completeto mark the shipment and order complete.Shipments / Complete
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/78823/complete?' HTTP/1.1 200 OK Content-Type: application/json; charset=utf-8 … { "id": 78823, "url": "/shipment/78823", "type": "FlashSeats", "state": "delivered", … }