ShippingConditions¶
ShippingConditions say where a ShippingService ships (shippingDestination, shippingOrigin), for which orders (orderValue, weight, numItems, ranges with minValue and maxValue), at what rate (shippingRate), how long delivery takes (transitTime), or that it doesn't ship (doesNotShip). Free shipping above an amount is a second condition whose orderValue starts there, with a rate of 0.
Modeled on schema.org/ShippingConditions ยท JSON Schema
Example¶
{
"shippingDestination": [
{
"addressCountry": "DE"
}
],
"orderValue": {
"currency": "EUR",
"value": 50,
"minValue": 50
},
"shippingRate": {
"currency": "EUR",
"value": 0
},
"transitTime": {
"minValue": 1,
"maxValue": 3,
"value": 2,
"unitCode": "DAY"
}
}
Fields¶
| Field | Type | Required | Description |
|---|---|---|---|
at_type |
ShippingConditions |
JSON-LD @type, the object's type name. |
|
shippingDestination |
list of DefinedRegion | Where it ships to; everywhere when not given | |
shippingOrigin |
DefinedRegion | Where it ships from | |
orderValue |
MonetaryAmount | The order values it applies to: minValue and maxValue | |
weight |
QuantitativeValue | The weights it applies to: minValue and maxValue, with unitCode | |
numItems |
QuantitativeValue | The numbers of items it applies to: minValue and maxValue | |
shippingRate |
MonetaryAmount | What shipping costs under these conditions | |
transitTime |
QuantitativeValue | How long delivery takes, e.g. 1 to 3 days (unitCode DAY) | |
doesNotShip |
boolean | True when it doesn't ship under these conditions |