Requires Bearer token authentication. Include Authorization: Bearer YOUR_API_KEY in the request header.
Path Parameters
idintegerrequiredThe unique ID of the store
Request Body
namestringNew name for the store
http_callbackstringNew callback URL for the store
Responses
idpath · integerrequiredThe unique ID of the store
namebody · stringNew name for the store
http_callbackbody · stringNew callback URL for the store
Response will appear here
Request
curl -X POST \
"https://www.blockonomics.co/api/v2/stores/{id}" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"const response = await fetch('https://www.blockonomics.co/api/v2/stores/{id}', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
}
})
const data = await response.json()
console.log(data)import requests
headers = {
"Authorization": "Bearer YOUR_API_KEY"
}
response = requests.post(
"https://www.blockonomics.co/api/v2/stores/{id}",
headers=headers
)
print(response.json())