Copy Store Document Logo to Portal Brand
POST/api/admin/portal/branding/assets/from-store-logo
Copy the logo a store prints on its documents (packing slips, invoices) into that store's portal brand logo. The image goes through the same processing as an upload: SVGs are sanitised, raster images re-encoded and scaled down to 1200 px wide. Replaces any portal logo the store already had.
customers:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Only an uploaded document logo can be copied — not the built-in default logo or an external URL; those return 422 asking for an upload instead.
Response: the store's resolved brand, as Get Portal Branding with store_id.
Requires a staff bearer token with the portal.manage 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.