Endpoint - Listing Delete

Endpoint is used when customer selects a list of items to be deleted.

This endpoint is used when customer selects a list of items to be deleted.

Request

Post

ProductsListingDeleteRequest

Field NameTypeDescription
AuthorizationTokenStringAuthorization Token from the customers integration.
ExternalListingIdsListingDeleteData[]Channel listing data. See ListingDeleteData table. See ListingDeleteData

ListingDeleteData

Field NameTypeDescription
ChannelSKUOrderCancellationItemChannels SKU used in the listing.
ExternalListingIdStringChannel listing ID.
TemplateIdIntegerLinnworks template ID.

Sample

{
  "AuthorizationToken": "0dfdbaf3e4d5434f825e774e31bcc148",
  "ExternalListingIds": [
    {
      "ChannelSKU": "XYZ-1",
      "ExternalListingId": "external2033",
      "TemplateId": "2"
    }
  ]
}

Response

ProductsListingResponse

Field NameTypeDescription
ChannelFeedIdStringID for the feed that corresponds to the batch of products that were created, updated or deleted. If the channel does not use feeds, a feed id needs to be generated by the external developer.
ErrorStringDefines if there was an error with the request and returns it.

Sample

{
	"ChannelFeedId": "123"
}