Skip to main content

v2.discount.get_discount

GET /api/v2/discount/get_discount

Use this api to get one shop discount activity detail

Endpoint URL

URL: https://partner.shopeemobile.com/api/v2/discount/get_discount

Common Request Parameters

NameTypeSampleDescription
partner_idint1Partner ID is assigned upon registration is successful. Required for all requests.
timestamptimestamp1610000000This is to indicate the timestamp of the request. Required for all requests. Expires in 5 minutes.
access_tokenstringc09222e3fc40ffb25fc947f738b1abf1The token for API access, using to identify your permission to the api. Valid for multiple use and expires in 4 hours.
shop_idint600000Shopee's unique identifier for a shop. Required param for most APIs.
signstringe318d3e932719916a9f9ebb57e2011961bd47abfa54a36e040d050d8931596e2Signature generated by partner_id, api path, timestamp, access_token, shop_id and partner_key via HMAC-SHA256 hashing algorithm. More details: https://open.shopee.com/documents?module=87&type=2&id=58&version=2

Request Parameters

NameTypeRequiredSampleDescription
discount_idint64True1000029882Shopee's unique identifier for a discount activity.
page_noint32True1Specifies the page number of data to return in the current call. Starting from 1. if data is more than one page, the page_no can be some entry to start next call.
page_sizeint32True50Each result set is returned as a page of entries. Use the "page_size" filters to control the maximum number of entries to retrieve per page (i.e., per call), and the "page_no" to start next call. This integer value is used to specify the maximum number of entries to return in a single "page" of data.

Response Parameters

NameTypeSampleDescription
errorstringIndicate error type if hit error. Empty if no error happened.
messagestringIndicate error details if hit error. Empty if no error happened.
request_idstringda6b348a4a5e4162b885ecc73c85297fThe identifier of the API request for error tracking
responseobjectDetail informations you are querying.
statusstringongoingThe status of discount promotion
discount_namestringtest-upload-keepTitle of the discount.
item_listobject[]The items selected in this discount.
item_idint642800140208Shopee's unique identifier for an item.
item_namestringhahahahahahName of the item in local language.
normal_stockint3210The current stock quantity of the item.
item_promotion_stockint3212The reserved stock of the item. If the item has no variation, this param is necessary.
item_original_pricefloat11.1The original price before discount of the item. If there is variation, this value is 0.
item_promotion_pricefloat1.92The discount price of the item. If there is variation, this value is 0.
item_inflated_price_of_original_pricefloat12.1The original price after tax of item (Only for taxable Shop).
item_inflated_price_of_promotion_pricefloat12.0The discount price after tax of item (Only for taxable Shop).
item_local_pricefloat9.99The local price of item calculated as: Local Price = CB Original Price × Local Adjustment Rate. Reflects the final local price derived from shop-level adjustment rules and is denominated in local currency.
item_local_promotion_pricefloat1.72The local discount price of item calculated as: Local Discount Price = Local Price × Discount Rate. Reflects the final local seller discount price derived from setting a seller discount and is denominated in local currency.
item_local_price_inflatedfloatThe local price after tax of item (Only for taxable Shop).
item_local_promotion_price_inflatedfloatThe local discount price after tax of item (Only for taxable Shop).
model_listobject[]The models belong to this item.
model_idint641755762Shopee's unique identifier for a variation of an item.
model_namestringhahahahahName of the variation that belongs to the same item.
model_normal_stockint322The current stock quantity of the variation.
model_promotion_stockint3210The reserved stock of the model.
model_original_pricefloat1.90The original price before discount of the variation.
model_promotion_pricefloat1.86The discount price of the variation.
model_inflated_price_of_original_pricefloat2.2The original price after tax of model (Only for taxable Shop).
model_inflated_price_of_promotion_pricefloat2.1The discount price after tax of model (Only for taxable Shop).
model_local_pricefloat1.71The local price of model calculated as: Local Price = CB Original Price × Local Adjustment Rate. Reflects the final local price derived from shop-level adjustment rules and is denominated in local currency.
model_local_promotion_pricefloat1.67The local discount price of model calculated as: Local Discount Price = Local Price × Discount Rate. Reflects the final local seller discount price derived from setting a seller discount and is denominated in local currency.
model_local_price_inflatedfloatThe local price after tax of model (Only for taxable Shop).
model_local_promotion_price_inflatedfloatThe local discount price after tax of model (Only for taxable Shop).
purchase_limitint321The max number of this product in the promotion price.
start_timetimestamp1604408400The time when discount activity start.
discount_idint641000029882Shopee's unique identifier for a discount activity.
end_timetimestamp1605276000The time when discount activity end.
morebooleanfalseThis is to indicate whether the item list is more than one page. If this value is true, you may want to continue to check next page to retrieve the rest of items.