POST:scheduled_fulfillments.json
Commerce APIPOST:scheduled_fulfillments.json

POST:scheduled_fulfillments.json

Description

Modify one or multiple scheduled fulfillments.

Permission bit: "scheduled_fulfillments.modify"

Topic: Scheduled Fulfillments

Query Parameters

ids: Comma-separated array of String, required

List of scheduled fulfillment ids. See also: Unique Identifiers

Example: ?ids=sf_EQzGqWoY,sf_EQzGqWoY


order_id: String, required

Unique order identifier. See also: Unique Identifiers

Example: ?order_id=or_EQzGqWoY


shop_id: String, required

Unique shop identifier. See also: Unique Identifiers

Example: ?shop_id=sh_EQzGqWoY

Request Body

Array of ScheduledFulfillmentModify

[
  {
    "email": false,
    "line_items": [
      {
        "inventory_location_id": "il_EQzGqWoY",
        "line_item_id": "li_EQzGqWoY",
        "quantity": 1,
        "variant_id": "va_EQzGqWoY"
      }
    ],
    "name": "Pending fulfillment as per subscription schedule",
    "pickup_inventory_location_id": "",
    "scheduled_at": "2014-09-04T12:23:34Z",
    "shipping_provider_type": "auspost",
    "subscription_id": "",
    "tracking_company": "Ship & Co",
    "tracking_number": "1Z2345",
    "tracking_url": "http://www.google.com/search?q=1Z2345"
  }
]

Response Body

Array of ScheduledFulfillment

Response Body Type

Loading module