POST /custom-channels.json
POST
/custom-channels.json
Body Required
-
channelId integer(int32) | null
Channel
-
connectedAt string(date-time) | null
Connected at
-
fulfillmentEndpoint string | null
Fulfillment endpoint
-
googleFeedLocation string | null
Google feed location
-
inventoryEndpoint string | null
Inventory endpoint
-
name string Required
Name
-
postToChannelEndpoint string | null
Post to channel endpoint
-
priceEndpoint string | null
Price endpoint
-
productsFeedFormat string | null Required
Products feed format
Values are
custom
,dreamingCode
, orwebhook
. Default value iscustom
. -
publishingEndpoint string | null
Publishing endpoint
-
resourceLocation string | null
Resource location
-
salesFeedFormat string | null Required
Sales feed format
Values are
custom
,shipStation
, orwebhook
. Default value iscustom
.
POST /custom-channels.json
curl \
-X POST http://api.example.com/v1/custom-channels.json \
-H "Content-Type: application/json" \
-d '{"channelId":42,"connectedAt":"2023-05-04T09:42:00+00:00","fulfillmentEndpoint":"string","googleFeedLocation":"string","inventoryEndpoint":"string","name":"string","postToChannelEndpoint":"string","priceEndpoint":"string","productsFeedFormat":"custom","publishingEndpoint":"string","resourceLocation":"string","salesFeedFormat":"custom"}'
Request example
{
"channelId": 42,
"connectedAt": "2023-05-04T09:42:00+00:00",
"fulfillmentEndpoint": "string",
"googleFeedLocation": "string",
"inventoryEndpoint": "string",
"name": "string",
"postToChannelEndpoint": "string",
"priceEndpoint": "string",
"productsFeedFormat": "custom",
"publishingEndpoint": "string",
"resourceLocation": "string",
"salesFeedFormat": "custom"
}
Response example (200)
{
"channelId": 42,
"connectedAt": "2023-05-04T09:42:00+00:00",
"createdAt": "2023-05-04T09:42:00+00:00",
"fulfillmentEndpoint": "string",
"googleFeedLocation": "string",
"id": 42,
"inventoryEndpoint": "string",
"name": "string",
"postToChannelEndpoint": "string",
"priceEndpoint": "string",
"productsFeedFormat": "custom",
"publishingEndpoint": "string",
"resourceLocation": "string",
"salesFeedFormat": "custom",
"updatedAt": "2023-05-04T09:42:00+00:00"
}