PATCH
/
v0
/
discounts
/
{discountId}
/
archive
curl --request PATCH \
  --url https://api.fungies.io/v0/discounts/{discountId}/archive \
  --header 'Content-Type: application/json' \
  --header 'x-fngs-public-key: <api-key>' \
  --header 'x-fngs-secret-key: <api-key>' \
  --data '{}'
{
  "status": "<string>",
  "data": {
    "success": true
  }
}

Authorizations

x-fngs-public-key
string
header
required
x-fngs-secret-key
string
header
required

Path Parameters

discountId
string
required

PATCH /v0/discounts/:discountId/archive Parameter

Body

application/json · object
PATCH /v0/discounts/:discountId/archive Request body

The body is of type object.

Response

200
application/json
PATCH /v0/discounts/:discountId/archive Positive response
status
string
required
Allowed value: "success"
data
object
required