Create or update pricing levels Deprecated

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://mall-api-proxy.documentation.omnicado.com/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "omnicado-mall-proxy MCP server": {
    "url": "https://mall-api-proxy.documentation.omnicado.com/mcp"
  }
}

Close
POST /deliveries/partner/{code}/pricing

Replaced by /v2/transports endpoints.

Create or update pricing levels.

The pricing can be set for price or weight, the limit value is included to the relevant pricing level.

For one partner delivery method can be set only one type of pricing, e.g. p or w!

Headers

  • X-Application-Name string

Path parameters

  • code string Required

    Delivery identifier

Query parameters

  • client_id string Required

    Client identifier

application/json

Body Required

  • 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

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • data array[object]
      Hide data attributes Show data attributes 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

    • result object
      Hide result attributes Show result attributes object
      • code integer(int)
      • status string
POST /deliveries/partner/{code}/pricing
curl \
 --request POST 'https://mpapi.proxy.omnicado.com/v1/deliveries/partner/PPL/pricing?client_id=yourClientId&client_id=api_token_value' \
 --header "Content-Type: application/json" \
 --header "X-Application-Name: myApplicationName" \
 --data '[{"type":"p","price":100.0,"cod_price":42.0,"limit":1000.0}]'
Request examples
# Headers
X-Application-Name: myApplicationName

# Payload
[
  {
    "type": "p",
    "price": 100.0,
    "cod_price": 42.0,
    "limit": 1000.0
  }
]
Response examples (200)
{
  "data": [
    {
      "type": "p",
      "price": 100.0,
      "cod_price": 42.0,
      "limit": 1000.0
    }
  ],
  "result": {
    "code": 200,
    "status": "OK"
  }
}