companyCredits/{id}

companyCredits/{id}

put/V1/companyCredits/{id}

Update the following company credit attributes: credit currency, credit limit and setting to exceed credit.

Request
path Parameters
id
required
string
Request Body schema:
required
object (company-credit-data-credit-limit-interface)

Credit Limit data transfer object interface.

Responses
200

200 Success.

400

400 Bad Request

401

401 Unauthorized

500

Internal Server error

default

Unexpected error

Request samples
{
  • "creditLimit": {
    }
}
Response samples
{
  • "id": 0,
  • "company_id": 0,
  • "credit_limit": 0,
  • "balance": 0,
  • "currency_code": "string",
  • "exceed_limit": true,
  • "available_limit": 0,
  • "credit_comment": "string",
  • "extension_attributes": { }
}