Inventory API
Shippings
Shipping Object
attributes id string a unique identifier for the shipping method object string the value is always shipping label string the label of the shipping method currency string appendix docid\ kfbmx4q3dxjtduqf75yx1 the currency of the shipping method destination array of strings ( appendix docid\ kfbmx4q3dxjtduqf75yx1 ) the countries served by this shipping method price integer the cost of shipments per unit has bundling boolean this attribute shows whether the shipping method has any bundling rules enabled postcodes array of strings an array of postcodes to use for filtering when customers attempt to make an order states array of strings an array of states to use for filtering when customers attempt to make an order sites array of strings an of site ids that this shipping method is associated with active boolean this attribute shows whether the shipping method is enabled bundling rules array of objects an array of objects, each corresponding to a bundling rule "bundling rules" \[ { "cost rule" "unit", "type" "range", "max" 100, "cost" 100, "from" 1, "to" 5 }, { "cost rule" "fixed", "type" "max", "max" 5, "cost" 80 } ] cost integer the base shipping cost to apply for this bundling rule cost rule string this attribute shows how the shipping cost for this bundling rule will be charged the possible values are unit (cost quantity) and fixed type string the possible values are range and max if set to max , the bundling rule will be activated on orders whose total quantity is more than the maximum (max) for range , the rule will be activated if the order quantity is between the configured range values (from and to) max integer orders with quantity larger than this value will activate the bundling rule provided if the type is set to max from integer the starting value of the bundling range provided if the rule type is set to range to integer the end value of the bundling range provided if the rule type is set to range { "id" "c8006b68 6619 4b3f 844c 7025ffaa5b3b", "label" "new shipping method", "currency" "eur", "destination" \[ "worldwide" ], "price" 120, "has bundling" true, "postcodes" null, "states" null, "sites" null, "object" "shipping", "active" true, "bundling rules" \[ { "cost rule" "unit", "type" "range", "max" 100, "cost" 100, "from" 1, "to" 5 }, { "cost rule" "fixed", "type" "max", "max" 5, "cost" 80 } ] }