Customers

Edit store credit

Edit a store credit entry

patch/customers/{customer_id}/balance/{balance_history_id}

Request

  • Base URL
    https://api.vrio.app
  • URL
    https://api.vrio.app/customers/{customer_id}/balance/{balance_history_id}
  • Auth
    API key in header X-Api-Key

Request body

credit_totalstring
auto_applyboolean
date_expirestring date

Response

OK

customer_balancestring

Example response

{
  "balance_history": [
    {
      "date_expire": "2023-04-01 00:00:00",
      "date_created": "2023-04-01 00:00:00",
      "date_modified": "2023-04-01 00:00:00"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.