API reference

HTS APIs

Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.

Schema

merchandising_contents_request

Fields

offer_ids
array of string
required
Items ≥ 1
locale
string
required

The user's locale, as an IETF BCP 47 language tag in {language}-{region} form, where region is an ISO 3166-1 alpha-2 country code or a UN M.49 macro-region code (e.g. en-US, es-419). Determines the language of user-facing content.

substitutions
map_string

Used by

PUT/merchandising_contentsCreate Offer Merchandising Contents
Example
{
  "offer_ids": [
    "string"
  ],
  "locale": "en-US",
  "substitutions": {}
}