Insert facet value records into record collection

post

/gsdata/v1/{appName}/facets/{recordCollection}

Insert records into the specified record collection. If record with the same key and locale already exist in the collection it will be overwritten. Changing records (whether adding, deleting or updating) requires a baseline index for the changes to take effect. Users must not manipulate system created record collections, eg records in /cloud/facets/product.category or product.priceRange, as these changes would be overwritten on the next catalog indexing event.

Request

Supported Media Types
Path Parameters
  • Specifies the name of your application. For example, "cloud".
  • Name of the record collection. A valid record collection name is defined by the regular expression "^[a-zA-Z0-9._-]+$" and cannot exceed 128 characters.
Body ()
Represents a facet order list.
Root Schema : FacetList
Type: object
Represents a facet order list.
Show Source
Nested Schema : contentItem
Type: object
Show Source
Nested Schema : triggers
Type: array
Show Source
Nested Schema : navigation
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : dvalIDs
Type: array
Specifies a list of locations (facet or facet value IDs) in the storefront where the facet list is to be used.
Show Source
Security
Back to Top

Response

Supported Media Types

201 Response

POST request was successful.
Body ()
Root Schema : PostRecordsResponse
Type: object
Represents the response received from a POST request to insert records into record collection.
Show Source
Nested Schema : ImportRecordsStatus
Type: object
Represents a status of records being imported by this POST request.
Show Source
Nested Schema : ImportRecordsSummary
Type: object
Represents a summary of records imported by this POST request.
Show Source
Back to Top