Dropship Solution

 

TireConnect allows you to use Dropship solution via API for two suppliers: ATD & TireHub.

Search Documentation

Ordering Documentation

Dropship Postman Collection

Search methods

Please note that for all search methods you should additionally send postal_code parameter in request body. For example:

curl --location 'https://devdemo.tireconnect.ca/api/v2/tire/search/bySize?key=38da4e73268d601331f9160afdfbe2ab' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --data-urlencode 'width=205' \ --data-urlencode 'height=55' \ --data-urlencode 'rim=16' \ --data-urlencode 'location_id=12875' \ --data-urlencode 'postal_code=11207'

 

Ordering methods

For ordering you should only use methods listed under Dropship section in Ordering Documentation.

Order type:

  • Residential - Order will be delivered directly to customer.

  • Business - Order will be delivered to any business address.

  • Installer - Order will be delivered to installer who cooperates with the supplier. (ATD doesn’t support this type as for now so if you will use this type for ATD it will be changed to business automatically.).

Note: TireHub can change delivery type from installer to business in case tire unavailable within 50 miles.

 

Authorization

GET /api/location/auth

To be able to order you should authorize and get token.

Use Location Authorize method (/api/location/auth) which requires location, api key and pin code.

Request Example

curl --location --request POST 'https://devdemo.tireconnect.ca/api/location/auth' \ --header 'Content-Type: application/json' \ --data-raw '{ "dealer_location_id":12895, "pin_code":135790, "key":"b254926f52917154a5cf698b95419928" }'

Request parameters

dealer_location_id
int
body

Dealer location

required

pin_code
int
body

Pin Code

required

key
string
body

API key

required

Response Example

{   "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJkZWFsZXJfbG9jYXRpb24iOjEyNjc0LCJleHAiOjE1NjA1MjY1ODl9.uEjbXiu1EoZ5E9IyXDz4JEVySY4C_C5mYXCC6SsGTwOCXyU3tHJU79FJkh5X2uMUlJttIQwoyC1HqljDl7_zIj-6XxvT-ismKDmdW7z7ZqrsGi6N3VACx9Rt1o3aJvBdDkSw4QfqhE8DZlLsYDH-TIGEOUP6E462Rfxn8bE149g",   "expire": 900 }

Response Parameters

token
string

Authorization token

expire
int

expire time

*Please note, token will expire in 900 seconds after it was issued. You need to get new token after that time.

 

Order Preview

POST /api/supplier/dropship/order/preview/

This methods will provide you with the most recent information about order including delivery date & time and delivery fee.

Single Tire

Request Example

 

Multi Tire

Request Example

Request parameters

token

query

Authorisation token

required

tire_id

string

Tire ID

required

quantity

int

Tire Quantity
required

address_line_1

string

Address Line 1
required

address_line_2
string

Address Line 2
optional

city

string

City
required

province

string

Province
required

country

string

Country
required

postal_code

string

ZIP/Postal Code
required

installer_id

string

Installer ID
required only for installer order

 

Single Tire Response example

Multi Tire Response example

Response Parameters

tire_id
string

Tire ID

part_number
string

Tire part number

brand
string

Tire Brand

price
int

Tire cost

retail_price
int

Tire retail price

quantity
int

Requested quantity

fet
int

FET

tires.delivery_fee
int

Estimation Delivery fee of each tire. Can be null in case supplier won’t return it per tire

tires.delivery_date_time
array

Estimated Delivery Date & Time for each tire

date
string

Estimated Delivery date for each tire

time
string

Estimated Delivery time for each tire

timezone
string

Timezone

order_total
array

Prices for whole order

order_total.delivery_fee
int

Estimated Delivery fee for whole order

order_total.fet
int

FET for whole order

order_total.total_price
int

Total price for whole order including delivery fee & FET

delivery_date_time
array

Estimated Delivery Date & Time for whole order

date
string

Estimated Delivery date for whole order

time
string

Estimated Delivery time for whole order

timezone
string

Timezone

Order Create

POST /api/supplier/dropship/order/create/

This methods are used for placing an orders.

Single Tire

Request Example

 

Multi Tire

Request Example

Request parameters

token

query

Authorisation token

required

tire_id

string

Tire ID

required

quantity

int

Tire Quantity
required

address_line_1

string

Address Line 1
required

address_line_2
string

Address Line 2
optional

city

string

City
required

province

string

Province
required

country

string

Country
required

postal_code

string

ZIP/Postal Code
required

name

string

Contact name

required

phone

string

Contact phone

required

po_number

string

Order PO Number

required

installer_id

string

Installer ID
required only for installer order

Single Tire Response example

 

Multi Tire Response example

Response Parameters

id
int

Order ID

status
string

Order Status

po_number
string

Order PO Number (provided by customer)

reference_number
string

Order Reference Number (provided by supplier)

tire_id
string

Tire ID

part_number
string

Tire part number

brand
string

Tire Brand

price
int

Tire cost

retail_price
int

Tire retail price

quantity
int

Requested quantity

fet
int

FET

tires.delivery_fee
int

Estimated Delivery fee of each tire. Can be null in case supplier won’t return it per tire

tires.delivery_date_time
array

Estimated Delivery Date & Time for each tire

date
string

Estimated Delivery date for each tire

time
string

Estimated Delivery time for each tire

timezone
string

Timezone

order_total
array

Prices for whole order

order_total.delivery_fee
int

Estimated Delivery fee for whole order

order_total.fet
int

FET for whole order

order_total.total_price
int

Total price for whole order including delivery fee & FET

delivery_date_time
array

Estimated Delivery Date & Time for whole order

date
string

Estimated Delivery date for whole order

time
string

Estimated Delivery time for whole order

timezone
string

Timezone

 

Order Status

POST /api/supplier/dropship/order/status

This method used for receiving order status from the supplier.

Request Example

Request parameters

token
query

Authorisation token

required

location_id
int

Location ID which was used for placing an order

id
int

Order ID

Response Example

Response parameters

order_id
int

Order ID

status
int

Order Status in TC system

vendor_status
int

Order Status in Vendor system

 

Ordering restrictions

  • In one order can’t be placed tires from different suppliers. In this case it should be several different orders:

  • In one order can’t be placed more than four sku: