Skip to main content
PATCH
Update sitemap URL visibility

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
url
string
required

Storefront path without a leading slash (for example products/20lb-copy-paper), or hide-all / show-all to switch the whole sitemap off or on.

active
boolean
required

true to show the URL in the sitemap, false to hide it.

Response

Success

sitemap
object
meta
object