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

Authorizations

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

Path Parameters

productId
string
required

PATCH /v0/products/:productId/archive Parameter

Body

application/json
PATCH /v0/products/:productId/archive Request body
id
string
required
archiveOffers
boolean

Response

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