Xem danh sách đơn hàng
API : /api/integration/order.json
Method: GET
Request Header
| key | value |
|---|---|
| X-pawdo-access-token | API KEY |
Query params (optional)
| key | type | note |
|---|---|---|
| search | string | order_number | order_code |
| fulfillment_status | string | unfulfilled|on_hold|ready|payment_awaiting|paid|pending|awaiting|processing|ship-out|delivered|pickup|exception |
| is_have_ticket | bool | true|false |
| is_shipping | bool | true|false |
| address_status | string | pending|valid|invalid|exception|unavailable |
| design_status | string | missing|invalid_dim|error|incompleted|completed |
| tracking_status | string | inforeceived|transit|pickup|undelivered|delivered|exception|expired|notfound|pending |
| start_time | time.Time | ISO-8601 |
| end_time | time.Time | ISO-8601 |
| start_time_ship | time.Time | ISO-8601 |
| end_time_ship | time.Time | ISO-8601 |
| filter | string | system_warning_pending|system_warning_processing|system_warning_shipout |
| limit | int | default 10 |
| page | int | default 1 |
Example (Response)
json
{
"message": "Success",
"orders": [
{
"id": "21f4b47f-e5c7-4e71-aee4-d2fa08889d9a",
"created_at": "2026-02-12T16:47:42.064748+07:00",
"updated_at": "2026-02-12T17:41:29.885613+07:00",
"store_id": "349d524a-5b95-4384-82a1-1afb49ca1d77",
"order_number": "bd-053",
"order_code": "PD6-0077",
"shipping_address": {
"city": "Las Vegas",
"name": "example",
"email": "[email protected]",
"state": "Nevada",
"country": "United States of America",
"address1": "3799 S Street",
"postal_code": "89109",
"country_code": "us",
"province_code": "NV",
"option_ship": "standard"
},
"design_status": "error",
"validate_address": "pending",
"fulfillment_status": "unfulfilled",
"tracking_status": "incompleted",
"fulfillment_type": "pod"
}
],
"status": true,
"total": 77
}Xem chi tiết đơn hàng
API : /api/integration/orders/query.json
Method: GET
Request Header
| key | value |
|---|---|
| X-pawdo-access-token | API KEY |
Query params
| key | type | note |
|---|---|---|
| id | uuid | (optional) ID nội bộ của order |
| order_name | string | (optional) |
Lưu ý
- Request phải có ít nhất 1 trong 2 param:
idhoặcorder_name. Nếu không sẽ trả lỗi:either order id or order name is required.
Example (Response)
json
{
"data": {
"id": "72664810-96a6-48be-9745-5dac8c82e767",
"created_at": "2026-02-04T10:17:19.681278+07:00",
"updated_at": "2026-02-04T10:36:46.486602+07:00",
"order_number": "BD-052",
"order_code": "PD6-0076",
"line_items": [
{
"id": "f4d562e6-46d7-459c-81c6-f6d8f03d30d6",
"title": "Leather Bridle Handles Tote Bag (Genuine Leather) - No zip puller",
"sku": "GTZ-N",
"system_sku": "GTZ-N",
"quantity": 5,
"mockup1": "https://example.com/images/sample-document.png",
"design1": "https://example.com/images/sample-document.png",
"item_fulfills": [
{
"id": "f9f3a3a3-06b4-4e74-b735-ddf0b3b5939f",
"order_name": "PD6-0076",
"variant_code": "GTZ-N",
"option_ship": "standard",
"basecost": 12,
"warehouse_status": "created",
"render_status": "done",
"print_id": 138,
"fulfillment_type": "pod",
"purchase_status": "new"
}
]
}
],
"shipping_address": {
"city": "Las Vegas",
"name": "example",
"email": "[email protected]",
"state": "Nevada",
"country": "United States of America",
"address1": "3799 S Street",
"postal_code": "89109",
"country_code": "us",
"province_code": "NV",
"option_ship": "standard"
},
"design_status": "completed",
"validate_address": "valid",
"fulfillment_status": "paid",
"tracking_status": "incompleted",
"fulfillment_cost": 64,
"fulfillment_type": "pod"
},
"status": true
}Nếu có bất kỳ vấn đề nào liên quan đến api đơn hàng, vui lòng liên hệ với bộ phận support của Pawdo qua Facebook để được hỗ trợ.