HOW TO: Automate Flash & TM Mobile Transfers

Deliver TM Mobile tickets by providing a URL

  1. Accept the order

    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", } }

     

  2. See that the shipment type is TBD in the response body of your POST.

  3. Use Shipments / Update to PUT to /v9/shipments/78817 to indicate that you will be supplying a URL. Optionally supply a transfer_source (see the list at Shipments / Complete ) which will help prevent our service team from needing to contact you about delivery issues.

  4.  

    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", }

     

  5. See in the response body that a new shipment (78826) has been created and returned.

  6. Use Shipments / Complete to PUT to /v9/shipments/78826/complete to 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

  1. Accept the order

    Accept order 190840

     

  2. See that the shipment type is TBD in the response body of your POST.

  3. 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.

    Shipments / Update

     

  4. 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.

  5. Transfer the tickets to the provided email address (moe.szyslak@example.com in this example) and name (Moe Szyslak in this example).

  6. Simply use Shipments / Complete to PUT to /v9/shipments/78826/complete and 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 a transfer_source (see the list at Shipments / Complete ). Including the transfer_source and tm_mobile_link will reduce the need for you to be contacted if the recipient does not receive the transfer email from the primary box office.

     

    Shipments / Complete

     

Transfer Flash Seats tickets to a provided email address

  1. Accept the order

    Accept order 190840

     

  2. 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.

  3. Transfer the tickets to the provided email address (moe.szyslak@example.com in this example) and name (Moe Szyslak in this example).

  4. Use Shipments / Complete to PUT to /v9/shipments/78823/complete to mark the shipment and order complete.

    Shipments / Complete

     

Related articles