Restocking Shipments
The Restocking Shipment resource
Properties
id - the restocking shipment's unique identifier in Hive system
status - the restocking shipment's status on Hive side. Possible values:
List all restocking shipments
List all Restocking Shipments
GET
https://app.hive.app/merchant_api/v1/restocking_shipments
Returns restocking shipments ordered by descending creation time.
note: arrived_quantity
, damaged_quantity
and missing_quantity
are visible only if the status is restocked
Get one restocking shipment
Get one restocking shipment
GET
https://app.hive.app/merchant_api/v1/restocking_shipments/{id}
Path Parameters
Name | Type | Description |
---|---|---|
id* | String | The (Hive) ID of the restocking shipment |
Create a new restocking shipment
Creates a new restocking shipment
POST
https://app.hive.app/merchant_api/v1/restocking_shipments/
Request Body
Name | Type | Description |
---|---|---|
warehouse_id* | Integer | An ID that uniquely identifies the wharehouse |
estimated_arrival_date* | ISO8601 datetime | The estimated arrival date |
delivery_option* | String | The delivery option, must be one of: |
tracking_code | String | The shipment tracking code |
po_number | String | The po number |
supplier_name | String | The supplier name |
restocking_shipment_items.sku_id* | Integer | The (Hive) ID of the sku |
restocking_shipment_items.announced_quantity* | Integer | The sku quantity |
restocking_shipment_items.remarks | String | The remarks |
restocking_shipment_items.total_cost_in_cents | Integer | The total cost in cents of the |
Update a restocking shipment
Update a restocking shipment
PUT
https://app.hive.app/merchant_api/v1/restocking_shipments/{id}/
Replaces the whole resource.
The restocking shipment can be updated only if the status is shipped
or created
Path Parameters
Name | Type | Description |
---|---|---|
id* | Integer | The (Hive) ID of the restocking shipment |
Request Body
Name | Type | Description |
---|---|---|
warehouse_id* | Integer | An ID that uniquely identifies the wharehouse |
estimated_arrival_date* | ISO8601 datetime | The estimated arrival date |
delivery_option* | String | The delivery option, must be one of: |
tracking_code | String | The shipment tracking code |
po_number | String | The po number |
supplier_name | String | The supplier name |
restocking_shipment_items.sku_id* | Integer | The (Hive) ID of the sku |
restocking_shipment_items.announced_quantity* | Integer | The sku quantity |
restocking_shipment_items.remarks | String | The remarks |
restocking_shipment_items.total_cost_in_cents | Integer | The total cost in cents of the |
Cancel a restocking shipment
Cancel a restocking shipment
PUT
https://app.hive.app/merchant_api/v1/restocking_shipments/{id}/cancel
The restocking shipment can be canceled only if the status is shipped
or created
Query Parameters
Name | Type | Description |
---|---|---|
id* | Integer | The (Hive) ID of the restocking shipment |
Last updated