PUT /dropshipments/{id}.json

PUT /dropshipments/{id}.json

Path parameters

  • id integer(int64) Required

    Numeric ID of the instance

    Minimum value is 1.

application/json

Body Required

PUT /dropshipments/{id}.json
curl \
 -X PUT http://api.example.com/v1/dropshipments/{id}.json \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"adminNotes":"string","aftershipId":"string","carrierPickupId":42,"channelAttempts":0,"channelError":true,"channelNotification":"trigger","commercialInvoiceUrl":"string","createdAt":"2024-05-04T09:42:00+00:00","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":"2024-05-04T09:42:00+00:00","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":"2024-05-04T09:42:00+00:00","trackingStatusDetails":"string","trackingUrl":"string","updatedAt":"2024-05-04T09:42:00+00:00","userId":42,"vendorExternalId":"string","weightUnit":"g"}'
Request example
{
  "adminNotes": "string",
  "aftershipId": "string",
  "carrierPickupId": 42,
  "channelAttempts": 0,
  "channelError": true,
  "channelNotification": "trigger",
  "commercialInvoiceUrl": "string",
  "createdAt": "2024-05-04T09:42:00+00:00",
  "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": "2024-05-04T09:42:00+00:00",
  "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": "2024-05-04T09:42:00+00:00",
  "trackingStatusDetails": "string",
  "trackingUrl": "string",
  "updatedAt": "2024-05-04T09:42:00+00:00",
  "userId": 42,
  "vendorExternalId": "string",
  "weightUnit": "g"
}