...
Code Block | ||
---|---|---|
| ||
{ "tires": [ { "tire_id": "QnJpZGdlc3RvbmV8fDAwMzE5M3x8a218fDEyNjc0fHxCUHJpbnh8fDM1MjEyNTA3MDN8fHRpcmVodWJ8fDEyNjc3fHxC", "branch": null"100", "cost": 15250.99, "fet": null, "fet_source": "tireconnect", "quantity": 14, "quantity_available": 32190, "stock_available": [ { "branch": "Alternate100", "id": "Alternate100", "quantitybranch_type": 5"primary", "namequantity": "Alternate "190, "ship_dataname": null "TLC 100 RALEIGH (04\/01\/2024 03:00pm)", "addressship_data": null,"a. Local customer - based on next available cut-off (Please see in B2B portal). \nb. Within 200 miles, before "contact"2:30 null,PM in a local time zone on a business day - next business day.\nc. 300 miles, "estimated_delivery_date": null, "estimated_delivery_time": null, "timezone": nullbefore 2:30 P.M local time business day 2 business days.\ne. Everything else - 3-5 business days.\n\nFor orders made not on a business day, 1 business day is added to projected delivery. 1 day added for Freight orders on Saturdays", "distanceaddress": { null, "distance_unitaddress1": null"900 AVIATION PKWY", }, "address2": null, { "branchpostal_code": "National27560-9224", "idcity": "NationalMORRISVILLE", "quantityprovince": 27,"NC", "namecountry": "National",null "ship_data": null}, "addresscontact": { null, "contactname": null, "estimatedfirst_delivery_datename": null, "estimatedlast_delivery_timename": null, "timezoneemail": null"tlc100raleigh@tirehub.com", "distance "alt_email": null, "distance_unitphone": null "919-674-5026", } "alt_phone": null ] } ], }, "cost": 152, "quantity": 1, "quantity_available": 32, "stockdelivery_date_availabletime": [{ { "branchdate": "Alternate2024-04-01", "id": "Alternate", "quantitytime": 5"15:00:00", "name": "Alternate ", "ship_datatimezone": null"-04:00", "address": null, "contactnotes": null, "estimated_delivery_date": null, }, "estimated_delivery_time": null, "timezonecutoff": null,{ "distance": null, "distance_unit": nulldate": "2024-04-01", "time": "11:00:00", "timezone": "-04:00" }, "distance": 40, "distance_unit": "ml" } ] } ], "cost": 50.99, "quantity": 4, "quantity_available": 190, "stock_available": [ { "branch": "100", "id": "100", "branch_type": "primary", "quantity": 190, "name": "TLC 100 RALEIGH (04\/01\/2024 03:00pm)", "ship_data": "a. Local customer - based on next available cut-off (Please see in B2B portal). \nb. Within 200 miles, before 2:30 PM in a local time zone on a business day - next business day.\nc. 300 miles, before 2:30 P.M local time business day 2 business days.\ne. Everything else - 3-5 business days.\n\nFor orders made not on a business day, 1 business day is added to projected delivery. 1 day added for Freight orders on Saturdays", "address": { "address1": "900 AVIATION PKWY", "address2": null, "postal_code": "27560-9224", "city": "MORRISVILLE", "province": "NC", "country": null }, "contact": { "name": null, "first_name": null, "last_name": null, },"email": "tlc100raleigh@tirehub.com", "alt_email": null, { "branchphone": "National919-674-5026", "id": "National","alt_phone": null }, "delivery_date_time": { "date": "2024-04-01", "quantitytime": 27,"15:00:00", "nametimezone": "National-04:00", "ship_datanotes": null, "address": null}, "contactcutoff": { null, "estimated_delivery_date": null"2024-04-01", "estimated_delivery_ "time": null,"11:00:00", "timezone": null"-04:00" }, "distance": null40, "distance_unit": null"ml" } ], "total_cost": 152203.96, "total_fet": 0, "shipping_cost": null0, "total_order": 152, "delivery_date_time": { "date": "2023-06-25", "time": "16:45:00": 203.96, "timezone"delivery_date_time": "+02:00" }null } |
Response parameters
tire_id | Tire ID | ||
---|---|---|---|
branch | Branch ID | ||
cost | Tire Cost | ||
fet | FET | ||
quantity | Selected tire quantity | ||
quantity_available | Available quantity for this tire | ||
stock_available | List of branches with quantities where this tire currently available | ||
branch | Branch ID. Deprecated | ||
id | Branch ID | ||
quantity | Quantity available in this branch | ||
name | Branch name | ||
ship_data | Some shipping rules provided by the supplier | ||
address | Warehouse address | ||
contact | Warehouse contact details | ||
estimated_delivery_date | Estimated delivery date | provided by the supplierestimated_delivery_time | Estimated delivery date & time provided by the supplier |
timezonecutoff | TimezoneCutoff | ||
distance | Distance from warehouse (provided by the supplier) | ||
distance_unit | Distance unit | ||
cost | Tire cost | ||
quantity | Selected quantity | ||
quantity_available | Available quantity | ||
total_cost | Total cost of tires in order | ||
total_fet | Total FET | ||
shipping_cost | Total shipping cost | ||
total_order | Total order | ||
delivery_date_time | Estimated delivery date & time provided by the supplier |
...
Code Block | ||
---|---|---|
| ||
{ "tires": [ { "cost": 90.39, "tire_id": "QnJpZGdlc3RvbmV8fDAwMzE5M3x8a218fDEyNjc0fHxCTmV4ZW58fDE1MTQ4TlhLfHxhdGRudGR8fDEyNjcxfHxC", "branch": null, "costfet": 1520, "fet_source": null"vendor", "quantity": 12, "quantity_available": 326, "stock_available": [ { "branch": "Alternatelocal", "id": "Alternatelocal", "branch_type": "primary", "quantity": 56, "name": "Alternate Local - Same-day delivery (if ordered before cut off time)", "ship_data": null, "address": null, "contact": null, "estimated_delivery_date_time": null,{ "estimated_delivery_timedate": null, "2024-04-04", "timezonetime": null, "distancetimezone": null, "distance_unitnotes": null }, }, { "cutoff": { "branch": "National", "iddate": "National2024-04-03", "quantitytime": 27,"22:30", "nametimezone": "National-05:00", "ship_data": null}, "addressdistance": null, "contactdistance_unit": null, } "estimated_delivery_date": null, ], "estimateddelivery_deliverydate_time": null, { "timezonedate": null"2024-04-04", "distancetime": null, "distance_unittimezone": null } } }, ] { }, "cost": 58.39, { "tire_id": "QnJpZGdlc3RvbmV8fDAwNjA3MHx8a218fDEyNjc0fHxCSXJvbm1hbnx8OTg0Njl8fGF0ZG50ZHx8MTI2NzF8fEI=", "branch": null, "costfet": 1540, "fet": null_source": "vendor", "quantity": 12, "quantity_available": 5569, "stock_available": [ { "branch": "Alternatelocal", "id": "Alternatelocal", "quantitybranch_type": 5"primary", "namequantity": "Alternate "69, "ship_data": nullname": "Local - Same-day delivery (if ordered before cut off time)", "addressship_data": null, "contactaddress": null, "estimated_delivery_datecontact": null, "estimateddelivery_deliverydate_time": { null, "timezonedate": null,"2024-04-04", "distancetime": null, "distance_unittimezone": null, }, "notes": null { }, "branch": "National", "cutoff": { "id": "National", "date": "2024-04-03", "quantity": 50, "nametime": "National22:30", "ship_data": null, "timezone": "-05:00" "address": null}, "contactdistance": null, "estimateddistance_delivery_dateunit": null, } "estimated_delivery_time": null, ], "timezonedelivery_date_time": null, { "distancedate": null, "2024-04-04", "distance_unittime": null, "timezone": }null ]} } ], "cost": 15290.39, "quantity": 12, "quantity_available": 326, "stock_available": [ { "branch": "Alternatelocal", "id": "Alternatelocal", "quantitybranch_type": 5, "name": "Alternate "primary", "ship_dataquantity": null6, "addressname": null, "contact": null, "estimated_delivery_date": null, "estimated_delivery_time": null"Local - Same-day delivery (if ordered before cut off time)", "timezoneship_data": null, "distanceaddress": null, "distance_unitcontact": null, }, "delivery_date_time": { { "branchdate": "National2024-04-04", "idtime": "National",null, "quantitytimezone": 27null, "namenotes": "National",null "ship_data": null}, "addresscutoff": null,{ "contactdate": null"2024-04-03", "estimated_delivery_date "time": null,"22:30", "estimated_delivery_timetimezone": null,"-05:00" "timezone": null}, "distance": null, "distance_unit": null } ], "total_cost": 306297.56, "total_fet": 0, "shipping_cost": null, "total_order": 306297.56, "delivery_date_time": { "date": "20232024-0604-2504", "time": "16:45:00"null, "timezone": "+02:00"null } } |
Order create method
POST /api/supplier/order/create
...