Marketplace Price Change API

Product wholesale price setting

Mező

Kötelező?

Leírás

apiKey

Igen

API key

sku

Igen

SKU of the product

wholesalePrice

Igen

Wholesale price of the product (net)

recommendedPrice

Igen

Recommended retail price of the product (net)

in case of XML:

Url: https://app.webshippy.com/wspyapi/DropshippyPriceChange/xml

Request:

<?xml version="1.0" encoding="utf-8"?>
<request>
<apiKey>api-key-comes-here</apiKey>
<products>
<sku>piros-polo</sku>
<wholesalePrice>1000</wholesalePrice>
<recommendedPrice>1700</recommendedPrice>
</products>
<products>
<sku>zold-sapka</sku>
<wholesalePrice>300</wholesalePrice>
<recommendedPrice>800</recommendedPrice>
</products>
</request>

Response (example):

<?xml version="1.0" encoding="utf-8"?>
<response>
  <status>success</status>
  <message>
    <elem>2 records were processed.</elem>
    <elem>2 updates successful.</elem>
  </message>
  <products>
    <elem>
      <sku>piros-polo</sku>
      <message>Update successful.</message>
    </elem>
    <elem>
      <sku>zold-sapka</sku>
      <message>Update successful.</message>
    </elem>
  </products>
</response>

in case of JSON:

Url: https://app.webshippy.com/wspyapi/DropshippyPriceChange/json

Request:

{
 "apiKey": "api-key-comes-here",
 "products": [ 
 {
 "sku": "piros-polo",
 "wholesalePrice": "1000",
 "recommendedPrice": "1700" 
},
 {
 "sku": "zold-sapka",
 "wholesalePrice": "300",
 "recommendedPrice": "800"
  } ]
}

Response (example):

{
    "status": "success",
    "message": [
        "2 records were processed.",
        "2 updates successful."
    ],
    "products": [
        {
            "sku": "piros-polo",
            "message": "Update successful."
        },
        {
            "sku": "zold-sapka",
            "message": "Update successful."
        }
    ]
}

Error messages that occur

Missing SKU. Property wholesalePrice missing. Property recommendedPrice missing. No price was provided. Product is not dropshipped or SKU doesn't exists. Incorrect price format, only positive numbers allowed!

Last updated

Was this helpful?