List active categories

Retrieves the list of merchant-provided product category IDs that are active.

When a category is active, all products within that category are eligible for offer retrieval.

Returns

Returns an array of merchant-provided category ids, and raises an error otherwise.

{
  "active_category_ids": ["12", "78"]
}

If a wildcard "*" is present in the response array, global offers not tied to a single product category ID might be available for your store.

If no categories are active, an empty array is returned.

{
  "active_category_ids": []
}
Language