Change the header picture
Set the big picture at the top of the business's page: "next" for another stock photo of what the business does (the owner said "change the photo"; add search to look for something else, e.g. "girls soccer practice"), an https image address, "trade" for the trade's own photo, or "none" to remove it. Never ask the owner to confirm a photo: change it and show the page. "next" goes live right away; the others are saved on the draft unless publish: true (or publish_site).
Set the big picture at the top of the business's page: "next" for another stock photo of what the business does (the owner said "change the photo"; add search to look for something else, e.g. "girls soccer practice"), an https image address, "trade" for the trade's own photo, or "none" to remove it. Never ask the owner to confirm a photo: change it and show the page. "next" goes live right away; the others are saved on the draft unless publish: true (or publish_site).
Create a scoped key in Benjiads → Integrations. Sent only in Authorization.
In: header
Header Parameters
8–80 letters, digits, underscores or hyphens. Reuse the same key and arguments for retries. Completed mutations replay for at least 90 days; a pending operation returns 409 and must be reconciled before using a new key.
^[A-Za-z0-9_-]+$8 <= length <= 80Request Body
application/json
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/site/header-picture" \ -H "Idempotency-Key: stringst" \ -H "Content-Type: application/json" \ -d '{ "picture": "http://example.com" }'{ "picture": "http://example.com", "published": true, "siteUrl": "http://example.com", "next": "string"}