eBay · Schema

MarketingPrice

The type that defines the fields that describe a seller discount.

AuctionsCommerceProductsMarketplaceFortune 500

Properties

Name Type Description
discountAmount object This container returns the monetary amount of the seller discount.
discountPercentage string This field expresses the percentage of the seller discount based on the value in the originalPrice container.
originalPrice object This container returns the monetary amount of the item without the discount.
priceTreatment string Indicates the pricing treatment (discount) that was applied to the price of the item.

Note: The pricing treatment affects the way and where the discounted price c
View JSON Schema on GitHub

JSON Schema

ebay-marketingprice-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/MarketingPrice",
  "title": "MarketingPrice",
  "type": "object",
  "properties": {
    "discountAmount": {
      "description": "This container returns the monetary amount of the seller discount.",
      "$ref": "#/components/schemas/ConvertedAmount"
    },
    "discountPercentage": {
      "type": "string",
      "description": "This field expresses the percentage of the seller discount based on the value in the <code>originalPrice</code> container."
    },
    "originalPrice": {
      "description": "This container returns the monetary amount of the item without the discount.",
      "$ref": "#/components/schemas/ConvertedAmount"
    },
    "priceTreatment": {
      "type": "string",
      "description": "Indicates the pricing treatment (discount) that was applied to the price of the item.<br><br><span class=\"tablenote\"><b>Note:</b> The pricing treatment affects the way and where the discounted price can be displayed.</span> For implementation help, refer to <a href='https://developer.ebay.com/api-docs/buy/browse/types/gct:PriceTreatmentEnum'>eBay API documentation</a>"
    }
  },
  "description": "The type that defines the fields that describe a seller discount."
}