GuidesReference Endpoints
Guides

5. Submitting Orders

As a developer of an affiliate platform, I need the ability to submit orders to Teak, so my consumers receive the Protection Coverage they purchased.

ℹ️

Acceptance Criteria:

  1. When a customer opts to purchase Refund Protection, an order is submitted to Teak.
  2. The following information is required when submitting an order
    1. Event (for each item)
    2. Customer
    3. Customer Address (Billing Address)
    4. Quote Token
  3. The Teak order should ONLY be submitted after your primary transaction (on the ticketing platform) is successfully completed.
  4. Each line item in the cart needs to be submitted as an item in order API call.
  5. Submit an Order for a single line item.
  6. Submit an Order for multiple line items.
    1. Each line item in the cart receives its own policy.
  7. Successful Orders & Policies can be found in the Client Dashboard.
    1. Orders: https://dashboard.sandbox.helloteak.com/orders/
    2. Policies: https://dashboard.sandbox.helloteak.com/policies/

Expected Outcome:

  1. Orders are successfully submitted to Teak.
  2. Orders with a single line item will receive a single policy.
  3. Orders with multiple line items will receive multiple policies.