Sales Channels List
Endpoint URL
GET https://api.tryoto.com/rest/v2/salesChannel/getSalesChannelsList
Available Packages: Starter Package, Scale Package, Enterprise Package, Marketplaces
This API endpoint provides a list of all sales channels integrated with OTO. If you have a store with any of these sales channels, you can connect your store to OTO. Use the sales channel's unique code to configure settings through the Sales Channels Config and Sales Channels Activation API endpoints.
Sales Channel Config
Endpoint URL
POST https://api.tryoto.com/rest/v2/salesChannel/getSalesChannelConfig
Example Request Body
Here is an example of a request body:
{
"code": "shopify"
}
Request Parameters
Name | Required | Type | Description |
---|---|---|---|
code | yes | string | The integration name obtained from the Sales Channels List. |
Available Packages : Starter Package, Scale Package, Enterprise Package, Marketplaces
This API endpoint allows you to view the required store credentials and the template for the sales channels specified in the request, which are needed for the next step: Sales Channel Activation.
Retrieve the sales channel configuration template.
Use this template to create a valid configuration object, similar to the given `exampleJson`.
This configuration object is then used to activate the sales channel with the Sales Channel Activation API endpoint.
Request Parameters: |
Sales Channel Activation
Endpoint URL
POST https://api.tryoto.com/rest/v2/salesChannel/salesChannelActivation
Example Request Body
Here is an example of a request body:
{
"code": "shopify",
"storeURL": "https://shopifytest.myshopify.com",
"adminApiAccessToken": "shopifytoken",
"active": true,
"storeName": "Shopify Store"
}
Request Parameters
Name | Required | Type | Description |
---|---|---|---|
code | yes | string | The integration name obtained from the Sales Channels List |
Available Packages : Starter Package, Scale Package, Enterprise Package, Marketplaces
This API endpoint is used to perform Sales Channels Activation. It enables you to activate a sales channel by providing the required configuration details.
Request Parameters: |
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article