Skip to main content
DELETE
/
shipping
/
shipments
Delete an order's shipment
curl --request DELETE \
  --url https://api.salesive.com/api/v1/shipping/shipments \
  --header 'Authorization: Bearer <token>'
{
  "status": 200,
  "success": true,
  "message": "Delete an order's shipment",
  "data": null
}
Soft-deletes the shipment attached to the given order and clears the order’s shipment reference and shipping cost. The order must belong to the store bound to the app token. Requires the WRITE_SHIPPING scope.

Authorizations

Authorization
string
header
required

Installed-app access token (prefix app_), issued by the OAuth install flow. The store is bound to the token server-side — never send a shop id.

Query Parameters

orderId
string
required

ObjectId of the order whose shipment should be deleted.

Response

Delete an order's shipment.

Standard Salesive response envelope. The operation-specific payload is carried in data.

status
integer
required

HTTP status code, echoed in the body.

success
boolean
required

Whether the request succeeded.

message
string
required

Human-readable result message.

data
null

No payload is returned for this operation.