younifyd
Menu

Get Public Product List

Get Public Product List

GET/organizations/{organizationId}/product-lists/{listId}

Use it in a workflow

  1. Add a step and choose the Salesforce Commerce Cloud connector.
  2. Pick the Get Public Product List action (under Shopper Customers).
  3. Fill in the fields below, then reference the result from later steps as {{getPublicProductList.response.data}}.

Request

Path parameters

listIdstringrequired

The ID of the list.

organizationIdstringrequired

An identifier for the Salesforce Commerce Cloud organization the request is being made by. It consists of a prefix 'f_ecom_' followed by a 4-character [realm identifier](https://developer.salesforce.com/docs/commerce/commerce-api/guide/base-url.html#realm-id) and a 3-character [instance type identifier](https://developer.salesforce.com/docs/commerce/commerce-api/guide/base-url.html#instance-id).

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.

Response

Returns 200 with an object. Read it in later steps with {{getPublicProductList.response.data.<field>}}.

coRegistrantany

The coRegistrant of this product list.

creationDatestring (date-time)

Returns the value of attribute 'creationDate'.

descriptionstring

The description of this product list.

eventany

The event of this product list.

idstring

The id of this product list.

lastModifiedstring (date-time)

Returns the value of attribute 'lastModified'.

namestring

The name of this product list.

productListItemsarray<object>

The product list items

idstringrequired

The ID of this product list item.

priorityinteger (int32)required

The priority of the item.

productany

The product item.

typestringrequired

The type of the item.

One ofproductgift_certificate

productListShippingAddressany

The abbreviated shipping address of this product list representing what anonymous users see.

publicboolean

Indicates whether the owner made this product list available for access by other customers.

registrantany

The registrant of this product list.

typestring

The type of the product list.

One ofwish_listgift_registryshopping_listcustom_1custom_2custom_3

json
{
  "id": "873465834",
  "public": true,
  "type": "gift_registry",
  "coRegistrant": null,
  "creationDate": "9999-12-31T00:00:00.0Z",
  "description": "Super Product List",
  "event": null,
  "lastModified": "9999-12-31T00:00:00.0Z",
  "name": "My Product List",
  "productListItems": [
    {
      "id": "8745345",
      "priority": 2,
      "type": "product",
      "product": null
    }
  ],
  "productListShippingAddress": null,
  "registrant": null
}

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