PATCH
/
admin
/
api
/
v1
/
offers
/
{offer_id}
cURL
curl --request PATCH \
  --url https://merits.blockscout.com/admin/api/v1/offers/{offer_id} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "details": {},
  "price": "<string>",
  "weight": 123,
  "valid_since": "<string>",
  "valid_until": "<string>",
  "redemptions_limit": 123,
  "min_passport_score": "<string>",
  "is_hidden": true,
  "is_unique_per_address": true,
  "is_auto_filled": true
}'
{}

Authorizations

Authorization
string
header
required

Authentication token, prefixed by Bearer: Bearer <token>

Path Parameters

offer_id
string
required

Body

application/json

Response

200
application/json

A successful response.

The response is of type object.