Skip to main content

v2.follow_prize.update_follow_prize

POST /api/v2/follow_prize/update_follow_prize

update_follow_prize

Endpoint URL

URL: https://partner.shopeemobile.com/api/v2/follow_prize/update_follow_prize

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
follow_prize_namestringFalseshop_follow_prizeThe name of the follow prize,The follow prize name length max limit is 20.
campaign_idint32True123344The unique identifier for the created follow prize.
start_timetimestampFalse1655341211The timing from when the follow prize is valid,the start time later than the current time.If the start time and end time passed in by the seller overlap with other upcoming/ongoing activities, it will prompt "Another Follow Prize voucher already exists during this time period, please set another period."
end_timetimestampFalse1657760411The timing until when the follow prize is still valid,the end time must be greater than the start time by at least 1 day and end time cannot exceed 3 months after start time.If the start time and end time passed in by the seller overlap with other upcoming/ongoing activities, it will prompt "Another Follow Prize voucher already exists during this time period, please set another period."
usage_quantityint32False2000Please enter a value between 1 and 200000.
min_spendfloatFalseThe minimum spend required for using this follow prize.

Response Parameters

NameTypeSampleDescription
responseobjectDetailed informations you are querying.
campagin_idint32123344The unique identifier for the created follow prize.
errorstringIndicate error type if hit error. Empty if no error happened.
messagestringIndicate error details if hit error. Empty if no error happened.
request_idstringbf3197ba056a884119dd8aea3d89dcb5The identifier of the API request for error tracking.