PUT listings/{listingID}/update-price

This call allows you to update the price of the Listing identified by ID. A successful update of price will trigger price update on the channel if it is enabled in the channel settings.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
listingID The ID of the Listing integer Required

Body Parameters

The update object with new data

ListingPriceBasicUpdateModel
NameDescriptionTypeAdditional information
Price The price of the Listing decimal number Required

Request Formats

application/json, text/json

Sample:
{
  "Price": 9.99
}

application/xml, text/xml

Sample:
<ListingPriceBasicUpdateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Price>9.99</Price>
</ListingPriceBasicUpdateModel>

Response Information

Resource Description

This call allows you to update the price of the Listing identified by ID. A successful update of price will trigger price update on the channel if it is enabled in the channel settings.

ListingModel
NameDescriptionTypeAdditional information
ListingID The ID of the Listing integer None.
CreatedDate The Created Date of the Listing date None.
ListingSKU The SKU of the Listing string None.
ListingBarcode The Barcode of the Listing string None.
ListingName The name of the Listing string None.
ListingPrice The price of the Listing decimal number None.
ListingDescription The description of the Listing string None.
ListingStatus The status of the Listing Statuses None.
ChannelIdentifier The Channel Identifier of the Listing string None.
Channel The Channel of the Listing ChannelBaseModel None.
Product The Product of the Listing ProductListingProductModel None.

Response Formats

application/json, text/json

Sample:
{
  "ListingID": 123,
  "ListingSKU": "SKU-AB-2018",
  "ListingBarcode": "12345678",
  "ListingName": "Listing Name",
  "ListingPrice": 9.99,
  "ListingDescription": "A description string",
  "ListingStatus": "ActiveOnChannel",
  "ChannelIdentifier": "CH-AB-2018",
  "Channel": {
    "ChannelName": "Shopify UK",
    "ChannelType": "Shopify",
    "ChannelID": 1,
    "ChannelGuid": "ab8eeb33-735b-430f-8db5-304b36b2f957",
    "IsActive": false
  },
  "Product": {
    "Categories": [
      {
        "CategoryID": 1,
        "CategoryName": "Shoes"
      },
      {
        "CategoryID": 2,
        "CategoryName": "Trainers"
      }
    ],
    "ProductID": 1,
    "SKU": "SKU 1"
  }
}

application/xml, text/xml

Sample:
<ListingModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ListingID>123</ListingID>
  <CreatedDate xsi:nil="true" />
  <ListingSKU>SKU-AB-2018</ListingSKU>
  <ListingBarcode>12345678</ListingBarcode>
  <ListingName>Listing Name</ListingName>
  <ListingPrice>9.99</ListingPrice>
  <ListingDescription>A description string</ListingDescription>
  <ListingStatus>ActiveOnChannel</ListingStatus>
  <ChannelIdentifier>CH-AB-2018</ChannelIdentifier>
  <Channel>
    <ChannelName>Shopify UK</ChannelName>
    <ChannelType>Shopify</ChannelType>
    <ChannelID>1</ChannelID>
    <ChannelGuid>ab8eeb33-735b-430f-8db5-304b36b2f957</ChannelGuid>
    <IsActive>false</IsActive>
  </Channel>
  <Product>
    <ProductID>1</ProductID>
    <SKU>SKU 1</SKU>
    <Categories>
      <CategoryBaseModel>
        <CategoryID>1</CategoryID>
        <CategoryName>Shoes</CategoryName>
      </CategoryBaseModel>
      <CategoryBaseModel>
        <CategoryID>2</CategoryID>
        <CategoryName>Trainers</CategoryName>
      </CategoryBaseModel>
    </Categories>
  </Product>
</ListingModel>