Table of Contents |
---|
Request example
Code Block |
---|
curl --location 'https://devdemo.tireconnect.ca/api/v2/tire/search/costcoSearch?key=19a41bee2c2e09d279226ab754166d2a' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'location_id=12825' \
--data-urlencode 'part_numbers%5B0%5D=477761' \
--data-urlencode 'part_numbers%5B1%5D=1218573' |
Request parameters
Parameter | Value |
---|---|
key string | API key Required |
location_id integer | Location id Required |
part_numbers[] array | Array of part numbers Required |
Response example
...
language | json |
---|
...
Table of Contents |
---|
Request example
Code Block |
---|
curl --location 'https://devdemo.tireconnect.ca/api/v2/tire/search/costcoSearch?key=19a41bee2c2e09d279226ab754166d2a' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'location_id=12825' \
--data-urlencode 'part_numbers%5B0%5D=477761' \
--data-urlencode 'part_numbers%5B1%5D=1218573' |
Request parameters
Parameter | Value |
---|---|
key string | API key Required |
location_id integer | Location id Required |
part_numbers[] array | Array of part numbers Required |
Response example
Code Block | ||
---|---|---|
| ||
{ "notice": "Success", "data": { "branchnb_typeresults": null2, "tires": [ { "delivery_date_time": null, "part_number": "000063", "cutoffbrand": null"Bridgestone", "suppliers": [ }, { { "id": "QnJpZGdlc3RvbmV8fDAwMDA2M3x8YnJpZGdlc3RvbmVpd3Nsd3N8fDM0MDI3fHxC", "branchquantity": "D002", 906, "idsupplier": "D002bridgestoneiwslws", "quantitystock": 7057,[ { "name": "D002 Chicago DC", "branch_type": null"D009", "delivery_date_timeid": null"D009", "cutoffquantity": null906, }, "name": "D009 Ontario DC", { "delivery_date_time": { "branch": "D012", "iddate": "D0122023-11-22", "quantitytime": 250null, "nametimezone": null, "D012 Lebanon DC", "branch_typenotes": null, "delivery_date_time": null}, "cutoff": null null } } ], ] "delivery_date_time": { }, "date": "2023-11-22", { "timeid": null"QnJpZGdlc3RvbmV8fDAwMDA2M3x8bnRkfHwzNDAyN3x8Qg==", "timezonequantity": null17, "supplier": "ntd", "notes": null "stock": [ } }, { { "branch": "localplus", "id": "QnJpZGdlc3RvbmV8fDAwMTEzMXx8bnRkfHwzNDAyN3x8Qg==", "priceid": null"localplus", "quantity": 139, "quantity": 17, "supplier": "ntd", "name": "Local Plus", "stock": [ "delivery_date_time": { { "branchdate": "local2023-11-23", "idtime": "local"null, "quantitytimezone": 63null, "name": "Local - Same-day (if ordered before cut off time)"notes",: null "branch_type": "primary" }, "delivery_date_timecutoff": { "date": "2023-11-22", "time": null"15:00", "timezone": "-05: null,00" } "notes": null } ] }, } ] "cutoff": { }, { "datepart_number": "2023-11-22001131", "brand": "Bridgestone", "timesuppliers": "10:00",[ { "timezone": "-05:00" "id": "QnJpZGdlc3RvbmV8fDAwMTEzMXx8bnRkfHwzNDAyN3x8Qg==", } "quantity": 63, }"supplier": "ntd", { "stock": [ "branch": "localplus",{ "idbranch": "localpluslocal", "quantityid": 76"local", "namequantity": "Local Plus - Next-day (if placed after cut off time)"63, "branch_typename": "alternativeLocal", "delivery_date_time": { "date": "2023-11-2322", "time": null, "timezone": null, "notes": null }, "cutoff": { "date": "2023-11-22", "time": "1510:00", "timezone": "-05:00" } } } ], } "delivery_date_time": null ] } ] } ] } } |
Response parameters
Parameter | Value | ||||
---|---|---|---|---|---|
notice string | Response status | ||||
nb_results integer | Number of found tires | ||||
part_number string | Tire part number | ||||
brand string | Tire brand | ||||
suppliers[] array | Stock information | ||||
id string | Tire ID | ||||
price float | Tire price | ||||
quantity integer | Tire quantity | ||||
supplier string | Supplier | ||||
stock[] array | An array with stock per branch | ||||
branch string | Deprecated parameter | ||||
id string | Branch ID | ||||
quantity integer | Tire quantity | ||||
name string | Branch namebranch_type string | Branch type | |||
delivery_date_time object | Estimated delivery information specific for this branch | ||||
date string | Estimated delivery date | ||||
time string | Estimated delivery time | ||||
timezone string | Time zone | ||||
notes string | Information about estimated delivery | ||||
cutoff object | Information about cut off date&time for current branch | ||||
date string | Cut-off date | ||||
time string | Cut-off time | ||||
timezone string | Cut-off time zone | ||||
delivery_date_time object | Information about estimated delivery date & time that have no branch specific info | ||||
date string | Estimated Delivery date | ||||
timezone string | time string | Estimated Delivery time | Delivery time zone | notes string | Information about delivery |