| id |
Color identifier |
| code | Color code |
| description | Color description |
| hex | Hex code of the color |
{
"colors": [
{
"id": 2,
"code": "Arctic Blue",
"description": null,
"hex": "#5ea3b3"
},
{
"id": 3,
"code": "Army Green",
"description": null,
"hex": "#4b5320"
}
]
}
| id |
Color identifier |
| code | Color code |
| description | Color description |
| hex | Hex code of the color |
{
"color": {
"id": 2,
"code": "Arctic Blue",
"description": null,
"hex": "#5ea3b3"
}
}
| id |
Size identifier |
| code | Size code |
| description | Size description |
{
"sizes": [
{
"id": 5,
"code": "X-Large",
"description": null
},
{
"id": 6,
"code": "2XL",
"description": null
}
]
}
| id |
Size identifier |
| code | Size code |
| description | Size description |
{
"size": {
"id": 5,
"code": "X-Large",
"description": null
}
}
| id |
Print area identifier |
| code | Print area code |
| description | Print area description |
| width | Print area width |
| height | Print area height |
{
"print_areas": [
{
"id": 1,
"code": "Front",
"description": null,
"width": 4200,
"height": 4800
},
{
"id": 2,
"code": "Back",
"description": "ss",
"width": 4200,
"height": 4800
}
]
}
| id |
Print area identifier |
| code | Print area code |
| description | Print area description |
| width | Print area width |
| height | Print area height |
{
"print_area": {
"id": 1,
"code": "Front",
"description": null,
"width": 4200,
"height": 4800
}
}
| id |
Base SKU identifier |
| code | Base SKU code |
| title | Base SKU title |
| description | Base SKU description |
| enabled | Is sase SKU enabled |
{
"base_skus": [
{
"id": 2,
"code": "AS_3001",
"title": "AS Colour - Wee Tee (Ribbed, not in use)",
"description": "AS Colour - Wee Tee (Ribbed, not in use)",
"enabled": false
},
{
"id": 3,
"code": "AS_3003",
"title": "AS Colour - Mini Me - Baby Onesie",
"description": "AS Colour - Mini Me - Baby Onesie",
"enabled": false
}
]
}
| id |
Base SKU identifier |
| code | Base SKU code |
| title | Base SKU title |
| description | Base SKU description |
| enabled | Is sase SKU enabled |
{
"base_sku": {
"id": 2,
"code": "AS_3001",
"title": "AS Colour - Wee Tee (Ribbed, not in use)",
"description": "AS Colour - Wee Tee (Ribbed, not in use)",
"enabled": false
}
}
| order_reference | Order reference number |
||||||||||||||||||||
| requested_shipping | Requested shipping method |
||||||||||||||||||||
| billing_address |
|
||||||||||||||||||||
| shipping_address |
|
||||||||||||||||||||
| line_items |
|
{
"order_reference": "#1001",
"email": "jane@example.com",
"requested_shipping": "express",
"billing_address": {
"first_name": "John",
"last_name": "Smith",
"company_name": "Ogo Pty Ltd",
"address1": "Unit 1",
"address2": "123 Fake Street",
"phone": "(03) 9999-9999",
"city": "Ferntree Gully",
"state": "Victoria",
"country": "Australia",
"postcode": "3156"
},
"shipping_address": {
"first_name": "Jane",
"last_name": "Smith",
"company_name": "Ogo Pty Ltd",
"address1": "123 Fake Street",
"address2": "123 Fake Street",
"phone": "777-777-7777",
"city": "Ferntree Gully",
"state": "Victoria",
"country": "Australia",
"postcode": "3156"
},
"line_items": [
{
"size": "Extra Small",
"colour": "Red",
"base_sku": "AS_5001",
"quantity": 1,
"prints": [
{
"print_area": "Front",
"print_image_url": "http://example.com/print.png",
"mockup_image_url": "http://example.com/mockup.png"
},
{
"print_area": "Back",
"print_image_url": "http://example.com/backprint.png",
"mockup_image_url": "http://example.com/backmockup.png"
}
]
}
]
}
{
"id": 1003
}
| id |
Order identifier |
||||||||||||||||||||
| user_id | User who added the order |
||||||||||||||||||||
| order_reference | Order reference number |
||||||||||||||||||||
| requested_shipping | Requested shipping method |
||||||||||||||||||||
| created_at | Create time |
||||||||||||||||||||
| updated_at | Last update time |
||||||||||||||||||||
| billing_address |
|
||||||||||||||||||||
| shipping_address |
|
||||||||||||||||||||
| line_items |
|
{
"order": {
"id": 1,
"user_id": "61c88d4e-3135-4c0b-98c9-ccc718bf4ee8",
"order_reference": "#1001",
"email": "jane@example.com",
"requested_shipping": "express",
"created_at": "2017-08-05T12:12:35.083",
"updated_at": "2017-08-05T12:12:35.083",
"billing_address": {
"first_name": "John",
"last_name": "Smith",
"company_name": "Ogo Pty Ltd",
"address1": "Unit 1",
"address2": "123 Fake Street",
"phone": "(03) 9999-9999",
"city": "Ferntree Gully",
"state": "Victoria",
"country": "Australia",
"postcode": "3156"
},
"shipping_address": {
"first_name": "Jane",
"last_name": "Smith",
"company_name": "Ogo Pty Ltd",
"address1": "123 Fake Street",
"address2": "123 Fake Street",
"phone": "777-777-7777",
"city": "Ferntree Gully",
"state": "Victoria",
"country": "Australia",
"postcode": "3156"
},
"line_items": [
{
"id": 1,
"size": "Extra Small",
"colour": "Red",
"base_sku": "AS_5001",
"quantity": 1,
"prints": [
{
"print_area": "Front",
"print_image_url": "http://example.com/print.png",
"mockup_image_url": "http://example.com/mockup.png"
},
{
"print_area": "Back",
"print_image_url": "http://example.com/backprint.png",
"mockup_image_url": "http://example.com/backmockup.png"
}
]
}
]
}
}