API Release Jul 9, 2018

breaking_change

#1

Release Date

Monday Jul 9, 2018

Version Number

1.590.0

Breaking Changes

Prerequisite changes for connecting sales channel locations with warehouses.

  • Response for /cart/:cart id/warehouse/

    Previous Response

    // https://api.ordoro.com/cart/123/warehouse/
    
    {
      "111": true,
      "112": false,
      "113": true,
      "114": true
    }
    

    Updated Response

    {
      "111": {
        "include": true,
        "locations": []
      },
      "112": {
        "include": false,
        "locations": []
      },
      "113": {
        "include": true,
        "locations": []
      },
      "114": {
        "include": true,
        "locations": []
      }
    }
    
  • Response for /product/:sku/

    Previous Response

    // https://api.ordoro.com/product/123/
    
    {
      ...
      "carts": [
        {
          ...
          "cart_aoh": 100.0
        }
      ]
    }
    

    Updated Response

    {
      ...
      "carts": [
        {
          ... 
            "cart_aoh": {
              "total_aoh": 100.0
            }
        }
      ]
    }