INVENTORY

Update an discount

post/v3/merchants/{mId}/discounts/{discountId}

Request

  • Base URL
    https://apisandbox.dev.clover.com
  • URL
    https://apisandbox.dev.clover.com/v3/merchants/{mId}/discounts/{discountId}
  • Auth
    HTTP bearer

Path parameters

mIdstring required

Merchant Id

discountIdstring required

Discount Id

Headers

User-Agentstring required

Identifies the application, operating system, vendor, and/or version of the requesting user agent. Format: <product> / <product-version> <comment>

Request body

idstring

Unique identifier

namestring required

Name of the discount

amountinteger

Discount amount in fraction of currency unit (e.g. cents) based on currency fraction digits supported

percentageinteger

Discount amount in percent

Changes

No recorded changes to this operation across all 2 revisions of this API.