Purchases shipping and returns a shipping label

Deprecated
Creates a shipment for an order, purchases a shipping label from the selected carrier, and returns the label for printing.

Authentication

AuthorizationBearer

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

Request

This endpoint expects an object.
shipmentRequestDetailsobjectRequired
shippingServiceIdstringRequired
shippingServiceOfferIdstringOptional
labelFormatenumOptional

Response

Success
shipmentobjectOptional

Errors

400
Bad Request Error
403
Forbidden Error
429
Too Many Requests Error
500
Internal Server Error