POST
/
api-offers
/
sku-list
/
{skuListId}
/
end-now

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-site-context
string
required

The x-site-context header is a JSON object that contains information about the source you wish to pull from. The mandatory account is the 24 character identifier found in Copilot. The channel (Sales channel ID), stage (environment name), and date attributes can be used to further narrow the scope of your data source.

Path Parameters

skuListId
number
required

ID of the list to end

Response

200 - application/json
_id
string

A 24-character system-generated ID of the record.

applicableOn
enum<string>[]

Applicable scope of skulist

Available options:
PRODUCT_PRICE,
SHIPPING_PRICE
createdAt
string

Creation date of the record

deleted
boolean

true: sku-list is deleted<br /> false: sku-list is not deleted

endDate
string

End date of sku-list. This is the date from which the products under the sku-list will again be applicable for being discounted. The value must be greater than the start date.

listType
enum<string>

Type of skulist

Available options:
GLOBAL_EXCLUSION
startDate
string

Start date of the sku-list. This is the date from which the products under the sku-list were excluded from being discounted.

targetProducts
object[]
title
string

SkuList name/title

updatedAt
string

Last updated date of the record