Skip to main content

Product Collection Base

AttributesDescription

id
string

Product collection ID.

name
string

Unique user-defined product collection name.

Example: All Products

type
string

Describes whether the product collection is dynamic (products come in and leave based on set criteria) or static (manually selected products).

Available values: STATIC, AUTO_UPDATE

filter
object

Defines a set of criteria and boundary conditions for an AUTO_UPDATE product collection type.

AttributesDescription

junction

See: Junction

[propertyName]

Valid keys: id, product_id, source_id, name, price, object, attributes, image_url, skus, created_at, updated_at and metadata.*

Field Conditions

products
array

Defines a set of products for a STATIC product collection type.

Array of:

Product Collections Item Products Item

AttributesDescription

id
string

The product ID.

Example: prod_0a41bcf807c5fcaaf6

product_id
string

Product ID for SKUs.

object
string

Denotes the type of the object represented by the ID.

Available values: sku, product

created_at
string

Timestamp representing the date and time when the product collection was created. The value is shown in the ISO 8601 format.

Example: 2021-12-09T12:51:29.898Z

readonly
boolean

Indicates whether the product collection can only be read by the caller in the Areas and Stores enterprise feature. Returned only when area and store visibility rules apply to the caller. A read-only product collection can’t be updated or deleted.

access_settings_assignments

See: Access Settings Product Collection Assignments List

object
string

The type of the object represented by JSON. This object stores information about the static product collection.

Available values: products_collection

Junction

Logical Operator Between Filters. Filter by conditions set on the junction parameter indicating how the conditions should be accounted for in the query. An AND is an all-inclusive logical operator, meaning the AND operator displays a record if ALL the conditions separated by AND are TRUE, while an OR operator displays a record if ANY of the conditions separated by OR is TRUE.

Available values: and, or

Field Conditions

AttributesDescription

conditions

Data filters used to narrow down the data records to be returned in the result.

Filters Condition

Access Settings Product Collection Assignments List

AttributesDescription

object
string

The type of the object represented by JSON. Default is list. This object stores information about product collection assignments to areas and stores

Available values: list

data_ref
string

Identifies the name of the attribute that contains the array of product collection assignments.

Available values: data

data
array

Contains an array of product collection assignments.

Array of Areas and Stores Product Collection Assignment

total
integer

Total number of areas and stores to which the product collection is assigned.

Filters Condition

AttributesDescription

$in

See: Any

$not_in

See: Any

$is

See: Any

$is_days_ago

See: Any

$is_days_in_future

See: Any

$is_not

See: Any

$has_value

See: Any

$is_unknown

See: Any

$contains

See: Any

$not_contain

See: Any

$starts_with

See: Any

$ends_with

See: Any

$more_than

See: Any

$less_than

See: Any

$more_than_ago

See: Any

$less_than_ago

See: Any

$more_than_future

See: Any

$less_than_future

See: Any

$more_than_equal

See: Any

$less_than_equal

See: Any

$after

See: Any

$before

See: Any

$count

See: Any

$count_less

See: Any

$count_more

See: Any

Areas and Stores Product Collection Assignment

AttributesDescription

id
string

Unique identifier of the product collection assignment.

area_id
string

Unique identifier of the area to which the product collection is assigned.

Example: ar_0ea6cd7b781b8f857f

all_stores
boolean

Determines if the product collection is assigned to all of the stores in the area, i.e. if an area ID is passed in the access_settings.assign.area_all_stores_ids in the request.

area_store_id
string

Unique identifier of the store to which the product collection is assigned. Not returned when the product collection is assigned to the whole area or to all stores in the area.

created_at
string

Timestamp representing the date and time when the assignment was created. The value is shown in the ISO 8601 format.

updated_at
string

Timestamp representing the date and time when the assignment was last updated. The value is shown in the ISO 8601 format.

object
string

The type of the object represented by JSON.

Available values: area_store_product_collection_assignment

Any

Array any of:

  1. string
  2. string
  3. string
  4. number
  5. object