For the complete documentation index, see llms.txt. This page is also available as Markdown.

Update Price List Prices

Replace all rows in a FIXED price list. Use this when synchronizing a complete set of price-code and quantity prices from another system.

Every existing row not supplied is removed. Include all rows you want to retain. Sending codes: [] clears the fixed-price rows. Read the current list and confirm its mode before writing.

Requires the priceLists:write scope.

put
Authorizations
AuthorizationstringRequired

API key sent as a bearer token (mk_live_… / mk_test_…).

Path parameters
priceListIdstringRequiredPattern: ^PL-[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
Body

Data schema used by Update Price List Prices (PUT /v1/price-lists/{priceListId}/prices). Read that operation for usage, permissions and update rules. Required fields and allowed values are defined below; request and response shapes can differ.

Responses
200

Successful response.

application/json
put/v1/price-lists/{priceListId}/prices
PUT /v1/price-lists/{priceListId}/prices HTTP/1.1
Host: admin.mimeeqapi.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 62

{
  "codes": [
    {
      "priceCode": "text",
      "quantity": 1,
      "rrp": 1,
      "sale": 1
    }
  ]
}
{
  "data": {
    "priceListId": "PL-123e4567-e89b-12d3-a456-426614174000",
    "priceListName": "text",
    "status": "text",
    "currency": "text",
    "validPeriod": [],
    "isPromotional": true,
    "companies": [
      {
        "companyId": "text",
        "companyName": "text"
      }
    ],
    "createdAt": "text",
    "modifiedAt": "text",
    "mode": "text",
    "market": "text",
    "calculation": {
      "costMultiplier": 1
    },
    "body": {
      "codes": [
        {
          "priceCode": "text",
          "quantity": 1,
          "rrp": 1,
          "sale": 1
        }
      ]
    }
  }
}

Last updated

Was this helpful?