Announces a restocking shipment to a Hive warehouse. The new restocking shipment has the status shipped.
Security
BearerAuth
How the shipment is delivered to the warehouse.
Enum:"postal""courier""dropoff""hive_freight"
The estimated arrival date. A date-time is accepted too; its date is used.
Hive's ID of the destination warehouse, one of the merchant's warehouses (see GET /warehouses). A string of digits is accepted too.
- Mock serverhttps://hive-merchant-api.redocly.app/_mock/merchant-api-v1/mapi_v1_oas31/restocking_shipments
- Production APIhttps://app.hive.app/merchant_api/v1/restocking_shipments
- Staging APIhttps://staging.app.hive.app/merchant_api/v1/restocking_shipments
curl -i -X POST \
https://hive-merchant-api.redocly.app/_mock/merchant-api-v1/mapi_v1_oas31/restocking_shipments \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"warehouse_id": 71,
"estimated_arrival_date": "2022-12-01",
"delivery_option": "postal",
"tracking_code": "1234567",
"restocking_shipment_items": [
{
"sku_id": 558,
"announced_quantity": 12
}
]
}'The created restocking shipment
How the shipment is delivered to the warehouse.
Enum:"postal""courier""dropoff""hive_freight"
Hive's ID of the merchant the restocking shipment belongs to.
The restocking shipment status:
created: created and not shipped yet.shipped: on the way to the warehouse. Restocking shipments created through the API start here.delivered: delivered to the warehouse, but its content is not checked yet.arrived: Hive completed the arrival documentation: the packing slip is checked, and pictures of the shipment and its documents are uploaded.processing: being unpacked, its items are being put into storage.restocked: fully processed, all its items are in storage.on_hold: processing is on hold.cancelled: cancelled.
Enum:"created""shipped""delivered""arrived""processing""restocked""on_hold""cancelled"
Response
{ "id": 13, "merchant_id": 1, "warehouse_id": 71, "estimated_arrival_date": "2022-12-01", "delivery_option": "postal", "tracking_code": "1234567", "po_number": null, "supplier_name": null, "status": "restocked", "barcode": "RS.13", "restocking_shipment_items": [ { … } ] }