1. External client integration
How to obtain an OAuth client? NOTE: Before requesting an OAuth client, it is necessary to have established a commercial agreement with Trade. Once this step is completed and the required information detailed below is gathered, you can start the account configuration process using the designated channels provided by X-Mart. Information needed to create an OAuth client:2. Overview of Stores and Lists
X-Mart provides a series of API endpoints that facilitate the management and synchronization of stores, sales channels, and lists within the platform. Below is a summary of the main endpoints available:Stores and Sales Channels
Get stores by brand (GET)
Get stores by brand (GET)
Create Stores and Sales Channels (POST)
Create Stores and Sales Channels (POST)
Get store by ID (GET)
Get store by ID (GET)
Change store status (PUT)
Change store status (PUT)
Lists
Get Synchronization Report (GET)
Get Synchronization Report (GET)
Register or Edit a List (PUT)
Register or Edit a List (PUT)
3. Explanation of v3 injection
X-Mart’s Service Catalog includes a series of methods that facilitate the management and synchronization of data on the platform. Below is a summary of the main endpoints available:Get Token
Get Token
New Order Webhook
New Order Webhook
Order Retrieval
Order Retrieval
4. Fulfillment (status changes)
X-Mart provides a series of API endpoints that facilitate the management and processing of orders, ensuring an efficient flow from order placement to fulfillment. Below is a summary of the main endpoints available:POST: Obtain OAuth token with a registered client
POST: Obtain OAuth token with a registered client
POST: Allows redeeming a local coupon using a UID and promotion code
POST: Allows redeeming a local coupon using a UID and promotion code
POST: Registers tracking information for a specific order Allows registering tracking information for a specific order
POST: Registers tracking information for a specific order Allows registering tracking information for a specific order
POST: Orders - Status Change This endpoint allows making changes to the order status
POST: Orders - Status Change This endpoint allows making changes to the order status
PUT: Orders - Transfer Enables the transfer of orders between different entities or warehouses
PUT: Orders - Transfer Enables the transfer of orders between different entities or warehouses
POST: Pickup Orders - Dispatched This endpoint is used to mark pickup orders as dispatched
POST: Pickup Orders - Dispatched This endpoint is used to mark pickup orders as dispatched
GET: Orders - Payment Information Allows retrieving payment information for orders
GET: Orders - Payment Information Allows retrieving payment information for orders

