v1
latestOpenAPI 3.1.02026-07-14460151.1 KBCreate a new bulk order
This endpoint enables you to create new swag orders using the ProductID from the design tool. Simply send us the Product ID, quantity, and shipping address.
post/v2/orders/custom
Request body
Response
201
Example response
{
"data": {
"id": 1,
"first_name": "firstname",
"last_name": "lastname",
"phone_number": "0000000",
"email": "email@company.com",
"address1": "line 1",
"address2": "line 2",
"city": "city",
"state": "state",
"zip_code": "000000",
"country": "country",
"status": "Shipped",
"created_at": "2021-08-11T19:58:29+00:00",
"total_price": 600,
"items": [
{
"product_id": 1,
"total_quantity": 100,
"price": 600,
"sku": "CM100",
"name": "Product demo",
"variants": [
{
"variant_id": 1,
"quantity": 100,
"size": "S",
"gender": "M"
}
]
}
]
}
}