Body
Required
-
Admin notes
-
Aftership
-
Carrier pickup
-
Channel attempts
Default value is
0. -
Channel error
-
Channel notification
Values are
triggerormute. Default value istrigger. -
Commercial invoice url
-
Created at
-
Days
-
Distance unit
Values are
inorcm. Default value isin. -
Duration terms
-
External
-
Grams
Default value is
0. -
Id
-
Import source
Values are
api,manual,platform,portal, orshippingEndpoint. Default value ismanual. -
Intercom message
-
Inventory status
Values are
notShippedorshipped. Default value isnotShipped. -
Label error
-
Label file format
Values are
pngorpdf. -
Label print status
Values are
notPrinted,generating, orprinted. Default value isnotPrinted. -
Label refund
Default value is
false. -
Label url
-
Manifest
-
Mute error
Default value is
false. -
Packing depth
Default value is
2.4. -
Packing height
Default value is
13.3. -
Packing width
Default value is
11.5. -
Price
Default value is
0. -
Printed label
Default value is
false. -
Printed label at
-
Provider
-
Purchase
-
Purchase import external
-
Quote
-
Reference
-
Requires shipping approval
Values are
notRequired,approvalRequired,rateRequired, orapproved. Default value isnotRequired. -
Sale
-
Service level
-
Service level terms
-
Shipment routing
Values are
customer,consolidated, orconsolidatedInternational. Default value iscustomer. -
Shippo label ids
-
Source
Values are
saleordropship_purchase_import. Default value issale. -
Total weight
Default value is
0. -
Tracking company
-
Tracking number
-
Tracking status
Values are
delivered,failure,pre_transit,returned,transit, orunknown. -
Tracking status date
-
Tracking status details
-
Tracking url
-
Updated at
-
User
-
Vendor external
-
Weight unit
Values are
g,kg,oz, orlb. Default value isg.
curl \
--request POST 'http://api.example.com/v1/purchases/{id}/ship.json' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"adminNotes":"string","aftershipId":"string","carrierPickupId":42,"channelAttempts":0,"channelError":true,"channelNotification":"trigger","commercialInvoiceUrl":"string","createdAt":"2025-05-04T09:42:00Z","days":42,"distanceUnit":"in","durationTerms":"string","externalId":"string","files":{},"grams":0,"id":42,"importSource":"manual","intercomMessageId":"string","inventoryStatus":"notShipped","labelError":"string","labelFileFormat":"png","labelFiles":{},"labelPrintStatus":"notPrinted","labelProblem":{},"labelRefund":false,"labelUris":{},"labelUrl":"string","manifestId":42,"muteError":false,"packingDepth":2.4,"packingHeight":13.3,"packingWidth":11.5,"pickupProblem":{},"price":0,"printedLabel":false,"printedLabelAt":"2025-05-04T09:42:00Z","provider":"string","purchaseId":42,"purchaseImportExternalId":"string","quoteId":"string","reference":"string","requiresShippingApproval":"notRequired","saleId":42,"sendShippingUpdateProblem":{},"serviceLevel":"string","serviceLevelTerms":"string","shipmentRouting":"customer","shippoLabelIds":["string"],"source":"sale","tags":["string"],"totalWeight":0,"trackingCompany":"string","trackingNumber":"string","trackingStatus":"delivered","trackingStatusDate":"2025-05-04T09:42:00Z","trackingStatusDetails":"string","trackingUrl":"string","updatedAt":"2025-05-04T09:42:00Z","userId":42,"vendorExternalId":"string","weightUnit":"g"}'
{
"adminNotes": "string",
"aftershipId": "string",
"carrierPickupId": 42,
"channelAttempts": 0,
"channelError": true,
"channelNotification": "trigger",
"commercialInvoiceUrl": "string",
"createdAt": "2025-05-04T09:42:00Z",
"days": 42,
"distanceUnit": "in",
"durationTerms": "string",
"externalId": "string",
"files": {},
"grams": 0,
"id": 42,
"importSource": "manual",
"intercomMessageId": "string",
"inventoryStatus": "notShipped",
"labelError": "string",
"labelFileFormat": "png",
"labelFiles": {},
"labelPrintStatus": "notPrinted",
"labelProblem": {},
"labelRefund": false,
"labelUris": {},
"labelUrl": "string",
"manifestId": 42,
"muteError": false,
"packingDepth": 2.4,
"packingHeight": 13.3,
"packingWidth": 11.5,
"pickupProblem": {},
"price": 0,
"printedLabel": false,
"printedLabelAt": "2025-05-04T09:42:00Z",
"provider": "string",
"purchaseId": 42,
"purchaseImportExternalId": "string",
"quoteId": "string",
"reference": "string",
"requiresShippingApproval": "notRequired",
"saleId": 42,
"sendShippingUpdateProblem": {},
"serviceLevel": "string",
"serviceLevelTerms": "string",
"shipmentRouting": "customer",
"shippoLabelIds": [
"string"
],
"source": "sale",
"tags": [
"string"
],
"totalWeight": 0,
"trackingCompany": "string",
"trackingNumber": "string",
"trackingStatus": "delivered",
"trackingStatusDate": "2025-05-04T09:42:00Z",
"trackingStatusDetails": "string",
"trackingUrl": "string",
"updatedAt": "2025-05-04T09:42:00Z",
"userId": 42,
"vendorExternalId": "string",
"weightUnit": "g"
}
{
"adminNotes": "string",
"aftershipId": "string",
"carrierPickupId": 42,
"channelAttempts": 0,
"channelError": true,
"channelNotification": "trigger",
"commercialInvoiceUrl": "string",
"createdAt": "2025-05-04T09:42:00Z",
"days": 42,
"distanceUnit": "in",
"durationTerms": "string",
"externalId": "string",
"files": {},
"grams": 0,
"id": 42,
"importSource": "manual",
"intercomMessageId": "string",
"inventoryStatus": "notShipped",
"labelError": "string",
"labelFileFormat": "png",
"labelFiles": {},
"labelPrintStatus": "notPrinted",
"labelProblem": {},
"labelRefund": false,
"labelUris": {},
"labelUrl": "string",
"manifestId": 42,
"muteError": false,
"packingDepth": 2.4,
"packingHeight": 13.3,
"packingWidth": 11.5,
"pickupProblem": {},
"price": 0,
"printedLabel": false,
"printedLabelAt": "2025-05-04T09:42:00Z",
"provider": "string",
"purchaseId": 42,
"purchaseImportExternalId": "string",
"quoteId": "string",
"reference": "string",
"requiresShippingApproval": "notRequired",
"saleId": 42,
"sendShippingUpdateProblem": {},
"serviceLevel": "string",
"serviceLevelTerms": "string",
"shipmentRouting": "customer",
"shippoLabelIds": [
"string"
],
"source": "sale",
"tags": [
"string"
],
"totalWeight": 0,
"trackingCompany": "string",
"trackingNumber": "string",
"trackingStatus": "delivered",
"trackingStatusDate": "2025-05-04T09:42:00Z",
"trackingStatusDetails": "string",
"trackingUrl": "string",
"updatedAt": "2025-05-04T09:42:00Z",
"userId": 42,
"vendorExternalId": "string",
"weightUnit": "g"
}