PATCH /v1/orders/{id}/trackings/{tid}
Scope
write_shipping
Request parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | integer | required | order_id |
tid | path | integer | required | tracking_id |
Idempotency-Key | header | string | required | 冪等キー(必須・ADR-010)。UUID v4 推奨。同一キー再送は保存レスポンスを再生 |
carrier_id | body | integer | optional | |
tracking_num | body | string | optional | |
delivery_date | body | string | optional | null で消去 |
Response example
{
"tracking_id": 0,
"order_id": 0,
"order_shipping_id": 0,
"carrier_id": 0,
"tracking_num": "string",
"delivery_date": "string"
}
Description
送り状を訂正する(同期直行)(write_shipping)
Error response example
{
"error": {
"code": "insufficient_scope",
"message": "requires scope 'read_orders'",
"request_id": "req_01H..."
}
}
Possible errors: 401 / 403 / 404 / 503