Skip to content


Use this api to update the specified master variation price asynchronously, including the channel's variation price. Get the update result via GetUpdateMasterVariationPriceResult after the request is successful

POST /openapi/product/variation/v1/set-price

Request Parameters

Parameter Type Required Description
masterVariationPrices array(UpdateMasterVariationPriceDTO) true master variations


Parameter Type Required Description
masterVariationId string true master variation id, see GetMasterProduct for details
masterPrice Price true master price, see Price for details
channelPrices array(UpdateChannelVariationPriceDTO) true channel variations


Parameter Type Required Description
channel string true channel, Please refer to Ginee Channel for details
genieChannelVariationId string true genie channel variation id, see ListMasterVariationPrice for details
channelPrice Price true channel price, see Price for details


Parameter Type Required Description
amount decimal true selling price,less than 1000000000
currencyCode string false currency code, default is IDR, see Currency Code for details

Response Parameters

Name Type Description
taskId string Task ID. The task ID can be synchronized to query the update master variation price task status

Request Example


curl --location --request POST '{Ginee Host}/openapi/product/variation/v1/set-price' \
--header 'Content-Type: application/json' \
--header 'X-Advai-Country: ID' \
--header 'Authorization: 2aedf7919e5e6cb4:n0IECNXloTKCTSSxeBEYhzmeVClHmgvw4ruI3W2f9eY=' \
--data-raw '{
    "masterVariationPrices": [
            "masterVariationId": "MV61BB0EC5FA4F8C00016315D5",
            "masterPrice": {
                "amount": 4000,
                "currencyCode": ""
            "channelPrices": [
                    "channel": "TOKOPEDIA_ID",
                    "genieChannelVariationId": "VA61BAF3D0F4428A0001D707DA",
                    "channelPrice": {
                        "amount": 5000,
                        "currencyCode": ""


    "code": "SUCCESS",
    "message": "成功",
    "data": {
        "taskId": "PRICE_SETTING_RESULT_1508324982181203968"
    "extra": null,
    "pricingStrategy": "PAY"

Invalid parameters

    "code": "PARAMETER_ERROR",
    "message": "error message",
    "data": null,
    "extra": null


You need to check the code to see if the operation was successful. If failed, see message for detail reason.