API create Adhoc CR for orders from the merchant.
URL
https://api.tikinow.vn/aftersales/2.0/inbound/create/
Link Production
METHOD
POST
QUERY HEADERS
| Header | Value | Note |
|---|---|---|
| Content-Type | application/json | |
| Authorization | Bearer <access_token> | access_token is generated by authorizing the In-House application of the Tiki Developer Platform |
PAYLOAD
| Params | Data Type | Required | Default Value | Description | Example |
|---|---|---|---|---|---|
| package_code | string | Y | Mã kiện hàng | ||
| ref_code | string | Y | Mã đơn hàng | ||
| warehouse_code | string | N | Mã kho Aftersale | ||
| items[].sku | integer | Y | SKU của sản phẩm | ||
| items[].qty | integer | Y | Số lượng |
RESPONSE
| Params | Type | Required | Description |
|---|---|---|---|
| package_code | string | Y | Mã kiện đã tạo thành công |
| is_created | boolean | Y | Kết quả sau khi tạo |