API reference

  • Authentication

    The first step to consume the CWS API services is to obtain an access token. This token is required to authorize all subsequent calls.

  • Stock and Price

    Endpoints dedicated to the complete management of stock and prices of the products in your warehouses.

  • Orders

    Services for querying and managing orders.

  • Customers

    Services for the complete management of customer registration data, their addresses and groups.

  • Credit Limit

    Endpoints to create and manage credit limit types and assign them to customers.

  • Contracts

    Endpoints to manage fixed-price contracts for customers or customer groups.

  • Price Rule

    Services for creating and managing price rules.

  • Quotes

    Services for querying and answering quotes requested by customers.

  • Custom Cart

    Endpoints to create, edit and delete custom shopping carts for customers.

  • Seller Module

    Endpoints to manage sellers and their customer portfolios.

  • SKU Priority

    Endpoints to manage the display priority of products (SKUs) in search results.

  • CashBack

    Endpoints for querying balances and managing customer cashback.

  • Callbacks and Webhooks

    Description

    This section documents the integrations in which the CWS platform starts the communication and sends data to your store's system. Unlike the other sections of this documentation, here we describe the endpoints that you will need to build to receive our calls.

    There are two types of communication started by CWS:

    • Synchronous (Callbacks): CWS makes a call and waits for an immediate response to continue a process. E.g.: Tax Calculation.

    • Asynchronous (Webhooks): CWS sends a notification about an event that has occurred and does not wait for a response to continue its processes. E.g.: Notification of new orders and customers.