Skip to main content
PUT
/
fulfillmentPlans
/
{sellerId}
/
{planWhenId}
Update fulfillment plan
curl --request PUT \
  --url https://api.quivo.co/fulfillmentPlans/{sellerId}/{planWhenId} \
  --header 'Content-Type: application/json' \
  --data '
{
  "type": "RULE",
  "order": 123,
  "sku": "<string>",
  "deliveryCountry": "<string>",
  "scriptedCondition": "<string>",
  "thens": [
    {
      "order": 123,
      "sku": "<string>",
      "quantity": "<string>",
      "warehouse": "<string>",
      "customsValue": "<string>",
      "splitId": "<string>",
      "lot": "<string>",
      "expirationDate": "<string>"
    }
  ]
}
'
{
  "type": "RULE",
  "order": 123,
  "sku": "<string>",
  "deliveryCountry": "<string>",
  "scriptedCondition": "<string>",
  "id": 123,
  "thens": [
    {
      "order": 123,
      "sku": "<string>",
      "quantity": "<string>",
      "warehouse": "<string>",
      "customsValue": "<string>",
      "splitId": "<string>",
      "lot": "<string>",
      "expirationDate": "<string>",
      "id": 123
    }
  ]
}

Path Parameters

sellerId
integer<int64>
required

The unique identifier for the seller account. This ID is used to scope operations to a specific seller's data and resources.

planWhenId
integer<int64>
required

The unique identifier for a fulfillment plan configuration.

Body

application/json

Complete resource data to update at /fulfillmentPlans/{sellerId}/{planWhenId}

Request payload for creating a new fulfillment plan for a seller. Contains plan configuration including SKU mappings, warehouse assignments, and effective dates.

type
enum<string>

The type or category of the item

Available options:
RULE,
PRE,
POST
order
integer<int32>

Order identifier or information

sku
string

Stock Keeping Unit (SKU) identifier

deliveryCountry
string

Country code or name

scriptedCondition
string

The scripted condition

thens
object[]

Array of then items

Response

Returns the updated fulfillment plan with current state.

Fulfillment plan configuration details. Contains SKU mappings, warehouse assignments, effective dates, and plan status.

type
enum<string>

The type or category of the item

Available options:
RULE,
PRE,
POST
order
integer<int32>

Order identifier or information

sku
string

Stock Keeping Unit (SKU) identifier

deliveryCountry
string

Country code or name

scriptedCondition
string

The scripted condition

id
integer<int64>

The unique identifier for the id

thens
object[]

Array of then items