Menu
Create Order Shipping Group
Create a shipping group for an order
POST
/v2/orders/{orderID}/shipping-groupsUse it in a workflow
- Add a step and choose the Elastic Path connector.
- Pick the Create Order Shipping Group action (under Carts).
- Fill in the fields below, then reference the result from later steps as
{{createOrderShippingGroup.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"data": {
"type": "string",
"shipping_type": "string",
"tracking_reference": "string",
"address": {
"first_name": "string",
"last_name": "string",
"phone_number": "string",
"company_name": "string",
"line_1": "string",
"line_2": "string",
"city": "string",
"postcode": "string",
"county": "string",
"country": "string",
"region": "string",
"instructions": "string"
},
"delivery_estimate": {
"start": "2025-01-01T00:00:00Z",
"end": "2025-01-01T00:00:00Z"
}
}
}
Response
Returns 201 with an object. Read it in later steps with {{createOrderShippingGroup.response.data.<field>}}.
{
"data": {
"type": "string",
"id": "string",
"relation": "string",
"cart_id": "string",
"order_id": "string",
"shipping_type": "string",
"tracking_reference": "string",
"external_ref": "string",
"address": null,
"delivery_estimate": {
"start": "2025-01-01T00:00:00Z",
"end": "2025-01-01T00:00:00Z"
},
"created_at": "2025-01-01T00:00:00Z",
"updated_at": "2025-01-01T00:00:00Z"
}
}
Need more? See the Elastic Path guide for connection setup and behaviour shared by every action.
Was this page helpful?