Skip to main content

API

A
Written by Admin
Updated over 11 months ago

The Turbine API supports direct integration through a JSON API and OrderDesk.

Turbine utilizes API endpoints to receive orders, provide access to order data and status changes, and send web hooks to notify customers of shipment and delivery. The API documentation can be found here.

The Turbine API handles the JSON format. A sample order with a single item and print is available below. Using the Authentication method from the API documentation and the sample JSON with an API application such as Postman.

{
"type": "order",
"account_id": 1,
"account_zip": "92677",
"purchase_order": "turbine-demo-api-test-1",
"order_reference_number": "turbine-demo-api-test-1",
"ship_provider": "USPS",
"ship_method": "First",
"ship_to": {
"first_name": "Bob",
"last_name": "Smith",
"company_name": "",
"address": "123 Main St",
"address_2": "Apt 1",
"city": "Portland",
"state": "OR",
"zip_code": "97034",
"country": "US",
"email": "[email protected]",
"telephone": "555-555-1212"
},
"items": [
{
"customer_sku": "",
"item_reference_number": "",
"sku": "MC1040_BLACK_XL",
"quantity": "1",
"designs": [
{
"placement": "Back",
"art_file": "this-love.png",
"art_url": "https://turbine-temp-storage.s3-us-west-2.amazonaws.com/art/body-art/sample-pack/ovaljet_chest_tiger_blackdropped.png",
"thumbnail_url": "https://turbine-temp-storage.s3-us-west-2.amazonaws.com/art/body-art/sample-pack/ovaljet_chest_tiger_blackdropped.png"
}
]
}
]
}

Did this answer your question?