Get Channels
get
https://api.flxpoint.com/channel/Use this when you want to pull channel data through the API.
🔑 X-API-TOKEN⏱ 2 req/sToken: Account · Source · Channel
This page explains the endpoint. To send a live test request, use the interactive tester in Stoplight or your own Postman / HTTP client.
Get all channels configured on the account. This endpoint requires an account level API token.
Request
Query parameters
includeIntegrationsquerybooleanSet this to `true` to return back the `integrations` on the Channel
includeArchivedquerybooleanSet this to `true` to also return back channels that have been archived. By default these are excluded in the response.
Example request
get
/channel/curl -X GET "https://api.flxpoint.com/channel/" \
-H "Accept: application/json" \
-H "X-API-TOKEN: YOUR_TOKEN"Responses
200OKapplication/json
array[Channel]
namestringrequiredChannel Name
descriptionstringChannel Description
primarybooleanlistingStrategyChannelListingStrategyrequiredThe strategy used to manage listing pricing and quantity on the channel.
-`single` = Single Vendor
-`best` = Best Vendor
-`mli` = Multi-Location Inventory
allowed
singlebestmlipricingStrategyChannelPricingStrategyOnly applicable when `listingStrategy = mli`. Determines how prices should be aggregated or set based on the connected sources of the channel locations
allowed
lowestaveragehighestpricingFactorChannelPricingFactorrequiredOnly applicable when `listingStrategy = best`. When comparing costs across sources/vendors should the dropship fee and shipping costs be included in the comparison that ultimately selected which source/vendor has the lowest cost? If so select total, if not select item.
allowed
totalitemdefault
"total"pricingMarkupChannelPricingMarkuprequiredShould basic, advanced, or no pricing controls be applied.
allowed
basicadvancednonedefault
"basic"quantityAggregationbooleanOnly applicable when using a pricing strategy of `best`. This denotes that quantity should be aggregated from all relevant sources instead of just the `best` source.
channelInvoiceReceiptOptionIdintegerinvoiceReceiptAccountCustomAlertIdintegerpaymentCollectionbooleandefault
truechannelInvoiceDefaultStatusPaymentStatusallowed
Not AuthorizedAuthorizedPaidDeferredRefundedCreditedAwaiting ClearanceDeclinedRefund PendingRefund FailedchannelInvoiceCcstringpricingWorkflowEventIdintegerThe ID of the Listing Price & Quantity Workflow for the Channel.
autoGeneratePoOnImportbooleanA setting that enables auto-generation of PO/FRs upon Order Import from the Channel.
default
falselistingStatusWorkflowEventIdintegerThe ID of the Listing Status Workflow for the Channel.
allowBackorderbooleanlistingBuilderMappingTemplateIdintegerinStoreOrderbooleanlistPriceProtectionbooleanIndicates whether price protection is applied to the listing. When true, the listing will not be eligible to sync to channels because either the price is below or equal to cost, the cost is missing, or the listing has no linked inventories.
Example response
[
{
"name": "string",
"description": "string",
"primary": true,
"listingStrategy": "single",
"pricingStrategy": "lowest",
"pricingFactor": "total",
"pricingMarkup": "basic",
"quantityAggregation": true,
"channelInvoiceReceiptOptionId": 0,
"invoiceReceiptAccountCustomAlertId": 0,
"paymentCollection": true,
"channelInvoiceDefaultStatus": "Not Authorized",
"channelInvoiceCc": "string",
"pricingWorkflowEventId": 0,
"autoGeneratePoOnImport": true,
"listingStatusWorkflowEventId": 0,
"allowBackorder": true,
"listingBuilderMappingTemplateId": 0,
"inStoreOrder": true,
"listPriceProtection": true
}
]401Unauthorized
No schema documented for this status.
OpenAPI fragment
{
"get": {
"summary": "Get Channels",
"description": "Get all channels configured on the account.\nThis endpoint requires an account level API token.",
"parameters": [
{
"schema": {
"type": "boolean",
"default": false
},
"in": "query",
"name": "includeIntegrations",
"description": "Set this to `true` to return back the `integrations` on the Channel"
},
{
"schema": {
"type": "boolean",
"default": false
},
"in": "query",
"name": "includeArchived",
"description": "Set this to `true` to also return back channels that have been archived. By default these are excluded in the response."
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Channel"
}
}
}
}
},
"401": {
"description": "Unauthorized"
}
}
}
}Ready to run it? Send the curl from your terminal or Postman, or use the interactive tester in Stoplight.Open in Stoplight