GET /deliveries/partner/{code}/pricing

Replaced by /v2/transports endpoints.

Responses

  • 200

    OK

    Hide response attributes Show response attributes object
    • result object
      Hide result attributes Show result attributes object
      • code integer(int)
      • status string
    • data array[object]
      Hide data attributes Show data attributes array[object]
      • type string Required

        Type can be defined for price as p or w for weight

        Values are p or w.

      • price number Required

        Price of weight or price level

      • cod_price number Required

        Price of COD (cash on delivery)

      • limit number Required

        Price (local currency) or weight (kg) limit value for certain pricing level

GET /deliveries/partner/{code}/pricing
curl \
 -X GET https://mpapi.proxy.omnicado.com/v1/deliveries/partner/{code}/pricing?client_id=api_token_value
Response examples (200)
{
  "data": [
    {
      "type": "p",
      "price": 100.0,
      "cod_price": 42.0,
      "limit": 1000.0
    }
  ],
  "result": {
    "code": 200,
    "status": "OK"
  }
}
Response examples (200)
{
  "result": {
    "code": 200,
    "status": "OK"
  },
  "data": [
    {
      "type": "p",
      "price": 100.0,
      "cod_price": 42.0,
      "limit": 1000.0
    }
  ]
}