Skip to main content
DELETE
Shipping - Void

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
store_id
string
required

Store ID

Example:

"507f1f77bcf86cd799439011"

order_number
string
required

Order number

shipment_id
string

SKULabs shipment ID

Example:

"507f1f77bcf86cd799439011"

tracking_number
string

Tracking number to identify the shipment

no_refresh
boolean

Skip cache refresh after voiding

carrier_shipment_id
string

Carrier-specific shipment ID

force_void
boolean

Force void even if carrier void fails

cancel_channel_fulfillment
boolean

Also cancel the fulfillment on the sales channel so the items become shippable again. Requires shipment_id. Queued and processed asynchronously; the void itself is unaffected if the channel rejects it. The channel-side cancellation runs only for Shopify stores; on any other store the shipment is still un-notified in SKULabs, the order returns to an unshipped status, and the reason is recorded on the order. Defaults to false.

Example:

true

Response

Shipment voided and inventory restored (returns updated order shipments)

_id
string

Order ID

Example:

"507f1f77bcf86cd799439011"

shipments
object[]

Order shipments