English
English
Appearance
English
English
Appearance
Only allow updating when fulfillment_status is one of the following statuses: on_hold, unfulfilled, payment_awaiting, ready
API : /api/integration/orders/:id.json
Method: PATCH
Request Header
| key | value |
|---|---|
| X-pawdo-access-token | API KEY |
Path Params
| key | type | required | note |
|---|---|---|---|
| id | uuid | Required | ID of the order to be updated |
Request Body
| key | type | required | note |
|---|---|---|---|
| skip_verify_address | boolean | Optional | Skip the address verification step |
| shipping_address | object | Optional | Shipping address information |
| line_items | array object | Optional | List of items to be updated |
Field Details
shipping_address
| key | type | required | note |
|---|---|---|---|
| name | string | Optional | Recipient name |
| string | Optional | Recipient email | |
| phone | string | Optional | Phone number |
| address1 | string | Optional | Address line 1 |
| address2 | string | Optional | Address line 2 |
| city | string | Optional | City |
| state | string | Optional | State / province |
| country | string | Optional | Country |
| postal_code | string | Optional | Postal code |
| country_code | string | Optional | Country code (ISO) |
| province_code | string | Optional | State / province code |
| option_ship | string | Optional | Shipping method |
| label_ship | url | Optional | Shipping label URL: Required for TikTok option |
| tax | number | Optional | Tax |
line_items(required)
| key | type | required | note |
|---|---|---|---|
| id | uuid | Required | Line item ID |
| sku | string | Optional | SKU from external system |
| system_sku | string | Required | Internal system SKU |
| title | string | Optional | Product title |
| note | string | Optional | Note |
| mockup1..mockup4 | url | Optional | Mockup image URLs |
| design1..design4 | url | Optional | Design file URLs |
| quantity | number | Required | Product quantity |
Example (Request)
{
"skip_verify_address": true,
"shipping_address": {
"tax": 1.2,
"city": "Corryton",
"name": "John Doe",
"email": "[email protected]",
"phone": "",
"state": "Tennessee",
"country": "United States",
"address1": "3456 *** Ridge Lane",
"address2": "1234 *** Ridge Lane",
"label_ship": "https://example.pdf",
"option_ship": "standard",
"postal_code": "12345",
"country_code": "US",
"province_code": "TN"
},
"line_items": [
{
"id": "b6828234-82ec-47df-88f5-9bc9a81b6ba6",
"sku": "",
"system_sku": "QTR-XS2",
"title": "no title",
"note": "bom ne",
"mockup1": "https://example.com/mockup1.png",
"mockup2": "",
"mockup3": "",
"mockup4": "",
"design1": "https://example.com/design1.png",
"design2": "",
"design3": "",
"design4": "",
"quantity": 13
}
]
}Example (Response successfully)
{
"message": "order updated",
"status": true
}If you need further assistance regarding the API information or its usage, please contact Pawdo support via Facebook for assistance.