Menu
Create Customer Product List
Create Customer Product List
POST
/organizations/{organizationId}/customers/{customerId}/product-listsUse it in a workflow
- Add a step and choose the Salesforce Commerce Cloud connector.
- Pick the Create Customer Product List action (under Shopper Customers).
- Fill in the fields below, then reference the result from later steps as
{{createCustomerProductList.response.data}}.
Request
Path parameters
Query parameters
Request body
Enter the body as JSON in the step's Body field.
{
"coRegistrant": null,
"creationDate": "9999-12-31T00:00:00.0Z",
"currentShippingAddressInfo": null,
"customerProductListItems": [
{
"priority": 1,
"public": true,
"quantity": 2,
"id": "Main Product",
"product": null,
"productId": "Toaster",
"purchasedQuantity": 1,
"type": "product"
}
],
"description": "My Product List",
"event": null,
"id": "MyList",
"lastModified": "9999-12-31T00:00:00.0Z",
"name": "Danny's Product List",
"postEventShippingAddressInfo": null,
"productListShippingAddress": null,
"public": true
}
Response
Returns 200 with an object. Read it in later steps with {{createCustomerProductList.response.data.<field>}}.
{
"coRegistrant": null,
"creationDate": "9999-12-31T00:00:00.0Z",
"currentShippingAddressInfo": null,
"customerProductListItems": [
{
"priority": 1,
"public": true,
"quantity": 2,
"id": "Main Product",
"product": null,
"productId": "Toaster",
"purchasedQuantity": 1,
"type": "product"
}
],
"description": "My Product List",
"event": null,
"id": "MyList",
"lastModified": "9999-12-31T00:00:00.0Z",
"name": "Danny's Product List",
"postEventShippingAddressInfo": null,
"productListShippingAddress": null,
"public": true
}
Need more? See the Salesforce Commerce Cloud guide for connection setup and behaviour shared by every action.
Was this page helpful?