younifyd
Menu

Update Order Status

Update order status.

PUT/organizations/{organizationId}/orders/{orderNo}/status

Use it in a workflow

  1. Add a step and choose the Salesforce Commerce Cloud connector.
  2. Pick the Update Order Status action (under Orders (Data API)).
  3. Fill in the fields below, then reference the result from later steps as {{updateOrderStatus.response.data}}.

Request

Path parameters

organizationIdstringrequired

An identifier for the organization the request is being made by

orderNostringrequired

The order number.

Query parameters

siteIdstringrequired

The identifier of the site that a request is being made in the context of. Attributes might have site specific values, and some objects may only be assigned to specific sites.

Request body

Enter the body as JSON in the step's Body field.

statusstringrequired

The new status.

One ofcreatednewcompletedcancelledfailedfailed_with_reopen

json
{
  "status": "new"
}

Response

Returns 201 with a any. Read it in later steps with {{updateOrderStatus.response.data.<field>}}.

Need more? See the Salesforce Commerce Cloud guide for connection setup and behaviour shared by every action.

Update Order Status — Salesforce Commerce Cloud — Documentation