Orders

Submit and manage orders

Create order

post

This API endpoint creates an order and returns it.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
reference_order_idstringOptional

External order id in your system.

Example: #1001
test_orderbooleanOptional

Flag to create a test order (no production fulfillment).

Example: false
shipment_notification_urlstringRequired

A webhook callback URL for shipment updates. If provided, the print provider will send an HTTP POST request to this URL when the order ships, including tracking details (e.g. tracking number, tracking url, tracking company). This allows your system to automatically receive delivery updates without polling the API.

Example: https://api.teeinblue.com/api/webhook/print-provider?order-token=7d1e0f01ff56119101046f4f27a88412
Responses
201

Order created

application/json
post
/orders

Last updated