curl --request PATCH \
--url https://api.komerza.com/stores/{storeId}/customers/{customerId}/balance \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"newBalance": 8.988465674311579e+307,
"comment": "<string>"
}
'{
"success": true,
"message": "<string>",
"code": "<string>",
"data": "<unknown>"
}Updates the store-specific balance for a customer.
Requires the stores.customers.update permission.
curl --request PATCH \
--url https://api.komerza.com/stores/{storeId}/customers/{customerId}/balance \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"newBalance": 8.988465674311579e+307,
"comment": "<string>"
}
'{
"success": true,
"message": "<string>",
"code": "<string>",
"data": "<unknown>"
}Your API key goes here
The ID of the store.
The ID of the customer whose balance to update.
The form containing the new balance value.
Form used to update a customer's balance for a given store.
The object was successfully updated.
Represents a default generic response for API endpoints.
Indicates whether the operation or response was successful.
A descriptive message providing additional context or information about the response.
The error code (if there was an error) to use when referencing the error
Represents the data associated with a response.
Was this page helpful?