POST /fulfillments.json
Body Required
-
adminNotes string | null
Admin notes
-
aftershipId string | null
Aftership
-
Channel attempts
Default value is
0
. -
channelError boolean | null
Channel error
-
Channel notification
Values are
trigger
ormute
. Default value istrigger
. -
commercialInvoiceUrl string | null
Commercial invoice url
-
days integer(int32) | null
Days
-
durationTerms string | null
Duration terms
-
externalId string | null
External
-
Fulfillment type
Values are
automated
,manual
, oradjusted
. Default value ismanual
. -
Grams
Default value is
0
. -
intercomMessageId string | null
Intercom message
-
Inventory status
Values are
notShipped
orshipped
. Default value isnotShipped
. -
labelError string | null
Label error
-
labelFileFormat string | null
Label file format
Values are
png
orpdf
. labelFiles object | null | array | boolean | integer | number | string
-
Label refund
Default value is
false
. -
labelUrl string | null
Label url
-
manifestId integer(int32) | null
Manifest
-
Mute error
Default value is
false
. -
Packed
Default value is
false
. -
packedAt string(date-time) | null
Packed at
-
Picked
Default value is
false
. -
pickedAt string(date-time) | null
Picked at
-
Price
Default value is
0
. -
Printed label
Default value is
false
. -
printedLabelAt string(date-time) | null
Printed label at
-
provider string | null
Provider
-
quoteId string | null
Quote
-
Reference
-
Requires shipping approval
Values are
notRequired
,rateRequired
,approvalRequired
, orapproved
. Default value isnotRequired
. -
Sale
-
serviceLevel string | null
Service level
-
serviceLevelTerms string | null
Service level terms
-
shippedAt string(date-time) | null
Shipped at
-
shippoLabelIds array[string] | null
Shippo label ids
-
shipstationId string | null
Shipstation
-
Status
Values are
pending
orfinalized
. Default value isfinalized
. -
trackingCompany string | null
Tracking company
-
trackingNumber string | null
Tracking number
-
trackingStatus string | null
Tracking status
Values are
delivered
,failure
,pre_transit
,returned
,transit
, orunknown
. -
trackingStatusDate string(date-time) | null
Tracking status date
-
trackingStatusDetails string | null
Tracking status details
-
trackingUrl string | null
Tracking url
-
userId integer(int32) | null
User
-
xeroId string | null
Xero
curl \
-X POST http://api.example.com/v1/fulfillments.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"adminNotes":"string","aftershipId":"string","channelAttempts":0,"channelError":true,"channelNotification":"trigger","commercialInvoiceUrl":"string","days":42,"durationTerms":"string","externalId":"string","files":{},"fulfillmentType":"manual","grams":0,"intercomMessageId":"string","inventoryStatus":"notShipped","labelError":"string","labelFileFormat":"png","labelFiles":{},"labelRefund":false,"labelUrl":"string","manifestId":42,"muteError":false,"packed":false,"packedAt":"2024-05-04T09:42:00+00:00","picked":false,"pickedAt":"2024-05-04T09:42:00+00:00","price":0,"printedLabel":false,"printedLabelAt":"2024-05-04T09:42:00+00:00","provider":"string","quoteId":"string","reference":"string","requiresShippingApproval":"notRequired","saleId":42,"serviceLevel":"string","serviceLevelTerms":"string","shippedAt":"2024-05-04T09:42:00+00:00","shippoLabelIds":["string"],"shipstationId":"string","status":"finalized","tags":["string"],"trackingCompany":"string","trackingNumber":"string","trackingStatus":"delivered","trackingStatusDate":"2024-05-04T09:42:00+00:00","trackingStatusDetails":"string","trackingUrl":"string","userId":42,"xeroId":"string"}'
{
"adminNotes": "string",
"aftershipId": "string",
"channelAttempts": 0,
"channelError": true,
"channelNotification": "trigger",
"commercialInvoiceUrl": "string",
"days": 42,
"durationTerms": "string",
"externalId": "string",
"files": {},
"fulfillmentType": "manual",
"grams": 0,
"intercomMessageId": "string",
"inventoryStatus": "notShipped",
"labelError": "string",
"labelFileFormat": "png",
"labelFiles": {},
"labelRefund": false,
"labelUrl": "string",
"manifestId": 42,
"muteError": false,
"packed": false,
"packedAt": "2024-05-04T09:42:00+00:00",
"picked": false,
"pickedAt": "2024-05-04T09:42:00+00:00",
"price": 0,
"printedLabel": false,
"printedLabelAt": "2024-05-04T09:42:00+00:00",
"provider": "string",
"quoteId": "string",
"reference": "string",
"requiresShippingApproval": "notRequired",
"saleId": 42,
"serviceLevel": "string",
"serviceLevelTerms": "string",
"shippedAt": "2024-05-04T09:42:00+00:00",
"shippoLabelIds": [
"string"
],
"shipstationId": "string",
"status": "finalized",
"tags": [
"string"
],
"trackingCompany": "string",
"trackingNumber": "string",
"trackingStatus": "delivered",
"trackingStatusDate": "2024-05-04T09:42:00+00:00",
"trackingStatusDetails": "string",
"trackingUrl": "string",
"userId": 42,
"xeroId": "string"
}
{
"adminNotes": "string",
"aftershipId": "string",
"channelAttempts": 0,
"channelError": true,
"channelNotification": "trigger",
"commercialInvoiceUrl": "string",
"createdAt": "2024-05-04T09:42:00+00:00",
"days": 42,
"durationTerms": "string",
"externalId": "string",
"files": {},
"fulfillmentType": "manual",
"grams": 0,
"id": 42,
"intercomMessageId": "string",
"inventoryStatus": "notShipped",
"labelError": "string",
"labelFileFormat": "png",
"labelFiles": {},
"labelRefund": false,
"labelUrl": "string",
"manifestId": 42,
"muteError": false,
"packed": false,
"packedAt": "2024-05-04T09:42:00+00:00",
"picked": false,
"pickedAt": "2024-05-04T09:42:00+00:00",
"price": 0,
"printedLabel": false,
"printedLabelAt": "2024-05-04T09:42:00+00:00",
"provider": "string",
"quoteId": "string",
"reference": "string",
"requiresShippingApproval": "notRequired",
"saleId": 42,
"serviceLevel": "string",
"serviceLevelTerms": "string",
"shippedAt": "2024-05-04T09:42:00+00:00",
"shippoLabelIds": [
"string"
],
"shipstationId": "string",
"status": "finalized",
"tags": [
"string"
],
"trackingCompany": "string",
"trackingNumber": "string",
"trackingStatus": "delivered",
"trackingStatusDate": "2024-05-04T09:42:00+00:00",
"trackingStatusDetails": "string",
"trackingUrl": "string",
"updatedAt": "2024-05-04T09:42:00+00:00",
"userId": 42,
"xeroId": "string"
}