Cancel Shipment by Order ID and Shipment ID

View as Markdown
Cancels a specific shipment by order ID and shipment ID. The shipment must not be picked, packed, or shipped to proceed with the cancellation.

Authentication

AuthorizationBearer

Authentication using Personal Access Token (PAT) token

OR
AuthorizationBearer
OAuth2 authentication using JWT tokens

Path parameters

shipmentIdintegerRequired
The shipment id to get
orderIdintegerRequired
The order ID the shipment belongs to

Headers

shipbob_channel_idintegerOptional
Channel Id for Operation

Response

Success
actual_fulfillment_datedatetime

The datetime of ShipBob’s completion of the fulfillment operation as promised. Currently, this means the shipment has been picked, packed, and label has been printed.

created_datedatetime
Date this shipment was created
delivery_datedatetime
The datetime of Shipment delivered to customer.
estimated_fulfillment_datedatetime

The datetime of ShipBob’s commitment for completing the shipment and handing to the carrier for delivery.

estimated_fulfillment_date_statusenum
gift_messagestring<=500 characters
Gift message associated with the shipment
idinteger
Unique id of the shipment
insurance_valuedouble
Monetary amount that this shipment was insured for
invoice_amountdouble
Monetary amount that was invoiced for this shipment
invoice_currency_codestring
is_tracking_uploadedboolean

Indicates whether the Shipment was marked with tracking information uploaded to a third-party system where the order originated.

last_tracking_update_atdatetime
Timestamp for the last time this shipment had a tracking update
last_update_atdatetime
Date this shipment was last updated
locationobject
Information about a fulfillment center that a shipment can belong to
measurementsobject
Measurements of a shipment
order_idinteger
Id of the order this shipment belongs to
package_material_typeenum
parent_cartonslist of objects
Carton information for this shipment
productslist of objects
Information about the products contained in this shipment
recipientobject
Information about the recipient of a shipment
reference_idstring

Client-defined external unique id of the order this shipment belongs to

require_signatureboolean
If a shipment requires signature
ship_optionstring
Name of the shipping option used for this shipment
statusenum
status_detailslist of objects
Additional details about the shipment status
trackingobject
Tracking information for a shipment

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
500
Internal Server Error