ops
ops-offers

Update credit limits

Changed on

Update the credit limits for ops

put/ops/credit-limit

Request

  • Base URL
    https://api.topi-staging.eu
  • URL
    https://api.topi-staging.eu/ops/credit-limit
  • Auth
    OAuth 2
    Authorization code: /oauth2/authorize
    Token URL: /oauth2/token scopes: ops-offer:edit

Request body

Example request

{
  "rows": [
    {
      "available_credit_limit": 1,
      "available_credit_limit_currency": "abc123",
      "comments": "abc123",
      "credit_limit": 1,
      "credit_limit_currency": "abc123",
      "end_customer_id": "abc123"
    }
  ]
}

Response

OK response.

available_credit_limitinteger

Available credit limit set for customer

available_credit_limit_currencystring

Available credit limit currency set for customer

commentsstring

comments about this credit limit setted by ops

credit_limitinteger

End customer credit limit

credit_limit_currencystring

End customer credit limit currency

end_customer_idstring required

End customer ID

Example response

[
  {
    "available_credit_limit": 1,
    "available_credit_limit_currency": "abc123",
    "comments": "abc123",
    "credit_limit": 1,
    "credit_limit_currency": "abc123",
    "end_customer_id": "abc123"
  }
]

Changes

    • info

      api operation id offer.updateOpsCreditLimits removed and replaced with offer#updateOpsCreditLimits

    • info

      api operation id offer#updateOpsCreditLimits removed and replaced with offer.updateOpsCreditLimits

    • info

      api tag ops-offers added