GET /deliveries/partner/{code}

Replaced by /v2/transports endpoints.

Responses

  • 200

    OK

    Hide response attributes Show response attributes object
    • data object
      Hide data attributes Show data attributes object
      • code string

        Delivery method identifier. Allowed characters are: A-Z, a-z, 0-9, _, . and -.

      • title string

        Title of delivery method

      • price number

        Price of delivery method

      • cod_price number

        Price of COD (cash on delivery)

      • free_limit number

        Limit for free delivery, if there is no free_limit send null

      • delivery_delay number

        Delivery delay in days

      • is_pickup_point boolean

        If delivery method is pickup point

      • priority integer

        Priority of delivery method

      • packageSize string

        smallbox or bigbox package size

        Values are smallbox or bigbox. Default value is smallbox.

      • weight object
        Hide weight attributes Show weight attributes object
        • min number

          Minimal weight in kg, 3 decimal points float format

        • max number

          Maximal weight in kg, 3 decimal points float format

      • width object
        Hide width attributes Show width attributes object
        • min number

          Minimal width in cm, 1 decimal point float format

        • max number

          Maximal width in cm, 1 decimal point float format

      • length object
        Hide length attributes Show length attributes object
        • min number

          Minimal length in cm, 1 decimal point float format

        • max number

          Maximal length in cm, 1 decimal point float format

      • height object
        Hide height attributes Show height attributes object
        • min number

          Min height in cm, 1 decimal point float format

        • max number

          Maximal height in cm, 1 decimal point float format

    • result object
      Hide result attributes Show result attributes object
      • code integer(int)
      • status string
GET /deliveries/partner/{code}
curl \
 -X GET https://mpapi.proxy.omnicado.com/v1/deliveries/partner/{code}?client_id=api_token_value
Response examples (200)
{
  "data": {
    "code": "PD1",
    "title": "Partner Delivery 1",
    "price": 99.99,
    "cod_price": 39.99,
    "free_limit": 1000,
    "delivery_delay": 1,
    "is_pickup_point": true,
    "priority": 1,
    "packageSize": "smallbox",
    "weight": {
      "min": 1.0,
      "max": 80.0
    },
    "width": {
      "min": 1.0,
      "max": 10.0
    },
    "length": {
      "min": 1.0,
      "max": 100.0
    },
    "height": {
      "min": 1.0,
      "max": 10.0
    }
  },
  "result": {
    "code": 200,
    "status": "OK"
  }
}
Response examples (200)
{
  "data": {
    "code": "PD1",
    "title": "Partner Delivery 1",
    "price": 99.99,
    "cod_price": 39.99,
    "free_limit": 1000,
    "delivery_delay": 1,
    "is_pickup_point": true,
    "priority": 1,
    "packageSize": "smallbox",
    "weight": {
      "min": 1.0,
      "max": 80.0
    },
    "width": {
      "min": 1.0,
      "max": 10.0
    },
    "length": {
      "min": 1.0,
      "max": 100.0
    },
    "height": {
      "min": 1.0,
      "max": 10.0
    }
  },
  "result": {
    "code": 200,
    "status": "OK"
  }
}