Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Search by size

 Request structure

 Required Required

  1. width 

  2. profile

  3. rim

  4. authentication credentials (whichever are applicable) 

    1. account number

    2. user name

    3. password

    4. shipTo ID

Optional

  1. warehouseslocations[] (warehouse locations ids) - several warehouse id IDs can be transferred

  2. min_quantity

...

Code Block
{
  "width": 205,
  "height": 205,
  "rim": 205,
  "warehouseslocations": [1,2
  ],
  "min_quantity": 1
}

...

 List of tires

  • brand_name

  • part_number (clean manufacturer part number, IMPORTANT: should not contain any other characters)

  • model (optional)

  • quantity breakdown (if present)

    • warehouse location 1

    • warehouse location 2

  • cost

  • retail_price (if presentapplicable)

 Response example

Code Block
[
 {
  "part_number": 000094,
  "brand": "Bridgestone",
  "retail_price": 25.5,
  "cost": 20,
  "brancheslocations": [
              {
                "name": "Location 1",
                “id”: 2, 
                "quantity": 4
              },
              {
                "name": "Location 2",
                "quantity": 4
              }
              ]
  }
]

...

Search by part numbers

 Request structure

 Required Required

  • part_numbers[] (multiple part numbers should be supported)

Optional

  • warehouses locations (warehouse locations ids) - several warehouse id IDs can be transferred

  • min_quantity

 Request example

Code Block
{
  "part_numbers": [
    "000094"
  ],
  "warehouseslocations": [1,2
  ],
  "min_quantity": 1
}

Response structure (identical to search by size response)

 List of tires

  • brand_name

  • part_number (clean manufacturer part number)model (optional, IMPORTANT: should not contain any other characters)

  • quantity breakdown (if present)

    • warehouse location 1

    • warehouse location 2

  • cost

  • retail_price (if presentapplicable)

 Response example

Code Block
[
 {
  "part_number": 000094,
  "brand": "Bridgestone",
  "retail_price": 25.5,
  "cost": 20,
  "brancheslocations": [
              {
                "name": "Location 1",
                “id”: 2, 
                "quantity": 4
              },
              {
                "name": "Location 2",
                "quantity": 4
              }
              ]
  }
]

Optional Methods / Endpoints

Get List of Dealer’s

...

Locations

 Request structure

  1. authentication credentials (whichever are applicable) 

  2. account number

  3. user name

  4. password 

  5. location ID (optional, required only if sister stores are available)

Response structure

List of Ship To IDs Locations []

Response example

Code Block
{ "brancheslocations": [
  {
  "name": "Location 1",
  “id”: 2
  },
  {
  "name": "Location 2",
  "id": 2
  }
]
}

...

  1. po_number

  2. items (multiple tires can be passed)

    1. part_number

    2. brand

    3. quantity

    4. warehouse location (if applicable for orders per branch)

  3. delivery type

  4. delivery instructions

...

Code Block
{
  "po_number": "PO Number",
  "items": [
    {
      "part_number": "000094",
      "brand": "Bridgestone",
      "quantity": 4,
      "warehouselocation": 1
    }
  ],
  "delivery_type": 1,
  "delivery_instructions": "Please deliver ASAP"
}

Response structure

  1. order_number (order or invoice number)

  2. status

  3. items

  4. error

  5. shipping_cost (if applicable)

Response example

Code Block
{
  "invoiceorder_number": 1236434,
  "status": "Processing",
  "items": [
    {
      "part_number": "000094",
      "quantity": 4,
      "price": 25.67,
      "brand": "Bridgestone"
    }
  ],
  "shipping_cost": 13.57,
  "error": null
}

Get order status

Request structure

  1. invoiceorder_number

Request example

Code Block
{
  "invoiceorder_number": 1236434
}

Response structure

  1. invoiceorder_number

  2. status

  3. error

Response example

Code Block
{
  "invoiceorder_number": 1236434,
  "status": "SuccessfulReceived",
  "error": null
}