cURL
curl --request POST \ --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 }'
{}
Authentication token, prefixed by Bearer: Bearer <token>
A successful response.
The response is of type object.
object
Was this page helpful?