Endpoint - CheckFeed
Endpoint that is called to check status of submitted batch for listing creation, update or deletions.
Endpoint that is called to check status of submitted batch for listing creation, update or deletions.
Request
Post
FeedRequest
FeedRequest
Field Name | Type | Description |
---|---|---|
ChannelFeedId | String | One of the feed ids returned by the developer from the ListingUpdate or ListingDelete call. |
AuthorizationToken | String | Is used to determine which customer/channel we are asking regarding. |
Sample
{
"AuthorizationToken": "0dfdbaf3e4d5434f825e774e31bcc148",
"ChannelFeedId": "123"
}
Response
FeedResponse
FeedResponse
Field Name | Type | Description |
---|---|---|
ProductFeeds | ProductFeed[] | See ProductFeed table. List of products processed with the requested feedid. |
IsFeedReady | Boolean | Lets Linnworks know if the feed has been processed and we know if it has been successful or not. |
Error | String | Defines if there was an error with the request and returns it. |
ProductFeed
ProductFeed
Field Name | Type | Description |
---|---|---|
Messages | ProductMessage[] | See ProductMessage table. Any warnings or errors that occurred for the specific sku/listing. |
SKU | String | The SKU that was sent in the initial listing update/delete request. |
ExternalListingId | String | The unique listing id on the channel for this product/listing. |
TemplateId | Integer | The Linnworks template id that was sent in the initial listingupdate/delete request |
URL | String | The url to view the listed product on the channel from within Linnworks listing tool. |
ChannelReferences | ChannelReference[] | See ChannelReference table. List if it is variation listing, single if it is normal listing. |
ChannelReference
ChannelReference
Field Name | Type | Description |
---|---|---|
SKU | String | SKU that was submitted. |
Reference | String | Same reference that would be returned by the ProductsEndpoint for the listed sku. |
ProductMessage
ProductMessage
Field Name | Type | Description |
---|---|---|
ProductFeedMessageType | ProductFeedMessageType | See ProductFeedMessageType table. Type of the message that was returned after listing update/creation. |
Message | String | Content of the message. |
ProductFeedMessageType (Flagged Enum)
ProductFeedMessageType (Flagged Enum)
Flag | Numeric Value | Description |
---|---|---|
Error | 1 | Returned when there was an error during listing update/creation. |
Warning | 2 | Returned when there were warning during listing update/creation. |
Recommendation | 3 | Returned when channel returned recommendations during listing update/creation. |
Sample
{
"Error": null,
"IsFeedReady": true,
"ProductFeeds": [
{
"ChannelReferences": [
{
"Reference": "p145-n18-v75",
"SKU": "XYZ-1"
},
{
"Reference": "p145-n18-v76",
"SKU": "XYZ-3"
}
],
"ExternalListingId": "1122",
"Messages": null,
"SKU": "XYZ",
"TemplateId": 14,
"URL": "http://www.mysite.co.uk/tshirt.html"
}
]
}
Updated over 1 year ago