Update Portal Storefront
PUT/api/admin/portal/storefront
Replace the storefront menu tabs and footer in full. Send items' existing ids to keep them; a null id creates a new item. Layout, header and top-bar colours and the contact phone are saved through Update Portal Branding, not here.
customers:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Every menu tab, dropdown entry and footer link carries a link object: type is one of catalog (the whole catalog), category (id = category id), brand (id = brand id), tag (value = tag name; id = tag id, optional), page (value = info page slug: lower-case letters, numbers and dashes), portal (value = one of home, catalog, brands, quick-order, special-order-list, lists, quotes, orders, invoices, returns, my-company) or url (value = an https://, http://, mailto: or tel: address; new_tab opens it in a new tab). Buyers only see links they can follow: a category or brand outside their catalog, or a page their account can't open, is hidden for them. A tag link shows only while that tag is published as a collection (Appearance → Catalog display → Collections) and opens the collection under the tag's current name; a page link only while the info page is published, and on the signed-out sign-in pages only when the page is public.
Limits: 12 tabs, 30 dropdown entries per tab, 4 footer columns, 10 links per column, 8 social links. Tab labels up to 40 characters, entry and link labels up to 60, column titles up to 40, footer note up to 200, contact address up to 300. Labels may not repeat (case and surrounding spaces ignored): no two tabs share a label, and no two entries in one dropdown or links in one footer column do; each repeat is a 422 on its own label field, e.g. menu.3.label: "Another tab is already called “Warehouse sale”." A tab's link may be null (the tab only opens its dropdown); dropdown entries and footer links need a link. Social links must be https:// addresses; network is one of facebook, instagram, x, linkedin, youtube, tiktok, whatsapp, pinterest.
Returns the stored menu and footer in the same shape as Get Portal Storefront. Requires a staff bearer token with portal management permission.
Request
Responses
- 200
- 401
- 403
- 422
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Unprocessable Content
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.