{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/EbayOfferDetailsWithKeys",
"title": "EbayOfferDetailsWithKeys",
"type": "object",
"properties": {
"availableQuantity": {
"type": "integer",
"description": "This integer value sets the quantity of the inventory item (specified by the sku value) that will be available for purchase by buyers shopping on the eBay site specified in the marketplaceId field. Quantity must be set to 1 or more in order for the inventory item to be purchasable, but this field is not necessarily required, even for published offers, if the general quantity of the inventory item has already been set in the inventory item record.
For auction listings, this value must be 1.",
"format": "int32"
},
"categoryId": {
"type": "string",
"description": "The unique identifier of the eBay category that the product will be listed under. This field is not immediately required upon creating an offer, but will be required before publishing the offer.
Sellers can use the getCategorySuggestions method of the Taxonomy API to retrieve suggested category ID values. The seller passes in a query string like \"iPhone 6\", and category ID values for suggested categories are returned in the response."
},
"charity": {
"description": "This container is used if the seller wishes to select a charitable organization that will receive a percentage of sale proceeds for each sale generated by the eBay listing. This container consists of the charityId field to identify the charitable organization, and the donationPercentage field that indicates the percentage of the sales proceeds that will be donated to the charitable organization for each sale. Both fields in this container are conditionally required for charitable listings.",
"$ref": "#/components/schemas/Charity"
},
"extendedProducerResponsibility": {
"description": "This container is used to provide the eco-participation fee for a product.
Use the getExtendedProducerResponsibilityPolicies\u00a0method of the\u00a0Sell Metadata API to retrieve categories that support eco-participation fee for a specified marketplace.",
"$ref": "#/components/schemas/ExtendedProducerResponsibility"
},
"format": {
"type": "string",
"description": "This enumerated value indicates the listing format of the offer.
Supported values are FIXED_PRICE and AUCTION. For implementation help, refer to eBay API documentation"
},
"hideBuyerDetails": {
"type": "boolean",
"description": "This field is included and set to true if the seller wishes to create a private listing.
Sellers may want to use this option when they believe that a listing's potential bidders/buyers would not want their obfuscated user IDs (and feedback scores) exposed to other users."
},
"includeCatalogProductDetails": {
"type": "boolean",
"description": "This field indicates whether or not eBay product catalog details are applied to a listing. A value of true indicates the listing corresponds to the eBay product associated with the provided product identifier. The product identifier is provided in createOrReplaceInventoryItem.
Default: true
Note: Though the includeCatalogProductDetails parameter is not required to be submitted in the request, the parameter defaults to true if omitted.
GTC, but auction listings support different listing durations.GTC. For implementation help, refer to eBay API documentation"
},
"listingPolicies": {
"description": "This container sets listing policies that will be used to construct the listing. Listing policies include business policies, custom listing policies, and fields that override shipping costs, enable eBay Plus eligibility, or enable the Best Offer feature. This container is not initially required when creating an offer but will become required before the offer can be published. Busines policies (payment, return, fulfillment policies) will always be required before publishing an offer. Other policies, including the seller created compliance policies and seller created take-back policy, will be required as needed by the marketplace, category, or product.5, each buyer may purchase between one to five of these products, and the purchases can occur in one multiple-quantity purchase, or over multiple transactions. If a buyer attempts to purchase one or more of these products, and the cumulative quantity will take the buyer beyond the quantity limit, that buyer will be blocked from that purchase. \"storeCategoryNames\": [
\"/Fashion/Men/Shirts\",
\"/Fashion/Men/Accessories\" ], ",
"items": {
"type": "string"
}
},
"tax": {
"description": "This container is applicable and used only if a sales-tax table, a Value-Added Tax (VAT) rate, or a tax exception category code will be applied to the offer. Only Business Sellers can apply VAT to their listings. It is possible that the applyTax field will be included with a value of true, but a buyer's purchase will not involve sales tax.