Update customer entity limits

Partially updates one or more entity limits configured for the customer identified by customerUID in the path.

Request body

  • JSON array with at least one limit update item.
  • Each item must include entityLimitId and entityLimitValue.
  • entityLimitValue must be a non-negative decimal number.

Success

  • Returns HTTP 200 OK with no response body.

Error codes (HTTP 400)

Code When
CUSTOMER_CUSTOMERID_NUMBER Path customerUID is not numeric
CUSTOMER_CUSTOMERID_ALLZERO Path customerUID is all zeros
CUSTOMER_CUSTOMERID_NOTFOUND Customer does not exist
CUSTOMER_CUSTOMERID_STATUS Customer is not active
CUSTOMER_CUSTOMERID_NOTALLOWED Processing org cannot update customer limits
CUSTOMERLIMIT_LIST_EMPTY Request body array is empty
CUSTOMERLIMIT_ENTITYLIMITID_REQUIRED Missing or blank entityLimitId
CUSTOMERLIMIT_VALUE_REQUIRED Missing or blank entityLimitValue
CUSTOMERLIMIT_VALUE_INVALID entityLimitValue is not numeric
CUSTOMERLIMIT_VALUE_NEGATIVE entityLimitValue is negative
CUSTOMERLIMIT_BASELINE_NOTFOUND No entity limits configured for the customer
CUSTOMERLIMIT_UNKNOWN_KEY entityLimitId not found in customer baseline
CUSTOMERLIMIT_UPDATE_FAILED Downstream legal-entity update failed
CUSTOMERLIMIT_INVALID_REQUEST Malformed JSON request body

Error codes (HTTP 415)

Code When
CUSTOMERLIMIT_UNSUPPORTED_MEDIATYPE Content-Type is not application/json
SecurityoAuth2
Request
path Parameters
customerUID
required
number

Unique Customer Id

Request Body schema: application/json
required
Array (non-empty)
entityLimitId
required
string

Entity limit identifier. Matched case-insensitively against the customer's configured baseline limits.

entityLimitValue
required
string

New limit value. Required. Must be a non-negative decimal number.

applicationId
string <uuid>

Optional. Accepted for backward compatibility but not used for matching or validation. Customer context is taken from the path parameter customerUID.

Responses
200

Limits updated successfully. No response body is returned.

400

Bad request — validation failure, customer eligibility issue, unknown limit key, missing baseline, malformed JSON body, or downstream update failure. See operation description for error codes.

401

You are not authorized to access the resource

403

Accessing the resource you were trying to reach is forbidden — caller lacks mCust entitlement

415

Unsupported media type — Content-Type must be application/json (CUSTOMERLIMIT_UNSUPPORTED_MEDIATYPE).

500

Internal server error

patch/v1/customers/{customerUID}/limits
Request samples
application/json
[
  • {
    }
]
Response samples
application/json
{
  • "errors": [
    ]
}