BOSS Recommendation API

Back of Store System Recommendation API

Get recommendations on how to handle products through donations, recycling, disposal, and more!

Primary API endpoint to provide retail users with location-specific recommended disposal/diversion instructions for all items in a retailer’s catalog submitted via the Product Ingestion API and registered by Suppliers via the SmarterX Product Intelligence Platform for display in Client’s own back of store interface.

Recommendations may be one of the following:

  • A "BOSS" response that includes a set of recommendations for a single product (no sub-components), under the key "boss"
  • A multicomponent recommendation that provides recommendations for individual product components, each of which might have their own handling requirements. A "rollup" recommendation of common paths shared by all components is also provided for the whole product under the key "boss"
  • An "all options" response that includes all possible handling options for a product at a location, which is provided when a product is not found in the retailer catalog, or hasn't been registered by a supplier

Unless otherwise noted, the following limits apply to URL path and query params:

  • Date/time strings must be provided in ISO 8601 format. All values converted to UTC, no time zone info will be retained.
  • All string fields, path and query parameters are limited to 127 characters or fewer
  • All UUIDs are UUIDv4. These will be generated initially by SmarterX, and used in subsequent ingest requests.
BASE URL
https://boss-apis-gcp-release-ab7c1b9.zuplo.app

Get recommendations by SmarterX product ID

Returns Back of Store disposal recommendations for a product. Recommendations are specific to the provided location.

Location must be specified in the location_name query parameter.

Headers

Authorization

required, string

The Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.

Query Parameters

location_name

required, string

Customer provided unique name for a location. This location name must be previously registered with SmarterX.

Path Parameters

product_id

required, string

SmarterX uuid for a product

GET
/v1/products/:product_id/boss
1

Get recommendations by GTIN

Returns Back of Store disposal recommendations for a product looked up on a GTIN 8, 12, 13, or 14. Recommendations are specific to the provided location.

Location must be specified in the location_name query parameter.

Headers

Authorization

required, string

The Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.

Query Parameters

location_name

required, string

Customer provided unique name for a location. This location name must be previously registered with SmarterX.

Path Parameters

gtin

required, string

GTIN of a product. 8, 12, 13, or 14 digits in length

GET
/v1/products/by_gtin/:gtin/boss
1

Get recommendations by External ID

Returns Back of Store disposal recommendations for a product looked up on an external product id previously provided to SmarterX via the Product Catalog API. Recommendations are specific to the provided location.

Location must be specified in the location_name query parameter.

Headers

Authorization

required, string

The Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.

Query Parameters

location_name

required, string

Customer provided unique name for a location. This location name must be previously registered with SmarterX.

Path Parameters

external_id

required, string

external product id provided by the customer through the Product Catalog API

GET
/v1/products/by_external_id/:external_id/boss
1

Check status of service

Retrieve the status of the service. Use to check that api key authentication is working.

Headers

Authorization

required, string

The Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.

GET
/v1/products/health
1