This type is used to specify the weight (and the unit used to measure that weight) of a shipping package. The weight container is conditionally required if the seller will be offering calculated shipping rates to determine shipping cost, or is using flat-rate costs, but charging a weight surcharge. See the Calculated shipping help page for more information on calculated shipping.
AuctionsCommerceProductMarketplaceFortune 500
Properties
Name
Type
Description
unit
string
The unit of measurement used to specify the weight of a shipping package. Both the unit and value fields are required if the weight container is used
value
number
The actual weight (in the measurement unit specified in the unit field) of the shipping package. Both the unit and value fields are required if the <
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/Weight",
"title": "Weight",
"type": "object",
"properties": {
"unit": {
"type": "string",
"description": "The unit of measurement used to specify the weight of a shipping package. Both the <strong>unit</strong> and <strong>value</strong> fields are required if the <strong>weight</strong> container is used. If the English system of measurement is being used, the applicable values for weight units are <code>POUND</code> and <code>OUNCE</CODE>. If the metric system of measurement is being used, the applicable values for weight units are <code>KILOGRAM</code> and <code>GRAM</code>. The metric system is used by most countries outside of the US. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/inventory/types/slr:WeightUnitOfMeasureEnum'>eBay API documentation</a>"
},
"value": {
"type": "number",
"description": "The actual weight (in the measurement unit specified in the <strong>unit</strong> field) of the shipping package. Both the <strong>unit</strong> and <strong>value</strong> fields are required if the <strong>weight</strong> container is used. If a shipping package weighed 20.5 ounces, the container would look as follows: <br><pre>\"weight\": {<br> \"value\": 20.5,<br> \"unit\": \"OUNCE\"<br> }</pre>"
}
},
"description": "This type is used to specify the weight (and the unit used to measure that weight) of a shipping package. The <strong>weight</strong> container is conditionally required if the seller will be offering calculated shipping rates to determine shipping cost, or is using flat-rate costs, but charging a weight surcharge. See the <a href=\"https://pages.ebay.com/help/pay/calculated-shipping.html \" target=\"_blank\">Calculated shipping</a> help page for more information on calculated shipping."
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.