Skip to content

The Sales Layer REST APIs are available from the following base URL:

https://api2.saleslayer.com

Build requests by appending the API path and optional query parameters to this base URL.

API path prefixes

Different Sales Layer APIs use different path conventions.

APIBase URLPath examples
DAM REST APIhttps://api2.saleslayer.com/dam/image, /image/{id}
Catalog REST APIhttps://api2.saleslayer.com/catalog/rest/Catalog/Products, /rest/Catalog/Categories, /rest/Catalog/$metadata

Use the OpenAPI reference for the exact path, HTTP method, parameters, and request body supported by each operation.

DAM examples

The DAM REST API currently exposes image operations under /dam/image.

List DAM images:

GET https://api2.saleslayer.com/dam/image?$top=10

Import a DAM image:

POST https://api2.saleslayer.com/dam/image

Update or delete a DAM image by identifier:

PATCH https://api2.saleslayer.com/dam/image/{id}
DELETE https://api2.saleslayer.com/dam/image/{id}

See the DAM REST API overview and DAM endpoint reference for details.

Catalog examples

The Catalog REST API currently exposes catalog resources under /catalog/rest/Catalog.

Retrieve Catalog API metadata:

GET https://api2.saleslayer.com/catalog/rest/Catalog/$metadata

Retrieve category metadata:

GET https://api2.saleslayer.com/catalog/rest/Catalog/Categories/$metadata

List and filter categories:

GET https://api2.saleslayer.com/catalog/rest/Catalog/Categories?$filter=startswith(cat_ref,'C')&$orderby=cat_ref asc&$skip=1&$top=3&$select=cat_id,cat_title,cat_ref,cat_description&$expand=Products

In this query:

  • $filter selects categories whose reference starts with C.
  • $orderby sorts results by cat_ref in ascending order.
  • $skip and $top paginate the result set.
  • $select limits the fields returned.
  • $expand includes related data such as Products when supported.

See the Catalog REST API overview and Catalog endpoint reference for details.

Authentication

All requests must include a valid API key:

X-API-KEY: YOUR_API_KEY

See Authentication for details about requesting and using API keys.

Common mistakes

Avoid these common URL issues:

  • Do not omit the https://api2.saleslayer.com base URL.
  • Do not add an extra slash between the base URL and the API path.
  • Encode query parameter values when they contain spaces, quotes, or special characters.
  • Use the exact capitalization shown in the API reference, especially for Catalog paths such as /catalog/rest/Catalog.

Support

For technical support, API questions, or help getting access to an API key, contact Sales Layer support or your account representative.