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

Authorizations

Authorization
string
headerrequired

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.

title
string

SkuList name/title

listType
enum<string>

Type of skulist

Available options:
GLOBAL_EXCLUSION
applicableOn
enum<string>[]

Applicable scope of skulist

Available options:
PRODUCT_PRICE,
SHIPPING_PRICE
targetProducts
object[]
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.

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.

deleted
boolean

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

createdAt
string

Creation date of the record

updatedAt
string

Last updated date of the record