Brands
How a brand sets the name, logo, colour and support email your customers see, and how it limits subscriptions.
A brand is a name, a logo, a colour and a support email for a group of your products. Each product belongs to one brand, and a subscription has the brand of its products. Test and live mode each have their own brands.
Every mode starts with a default brand, made from your business name and your support email setting. A product created
without brandId belongs to it. The default brand cannot be archived.
Where customers see a brand
| Place | What shows |
|---|---|
| The payment page of a checkout session or an invoice | The brand's name, logo and colour. The "Questions?" link uses its support email. |
| Emails about a subscription | The brand's name and logo. Replies go to its support email. |
| Invoices, receipts and credit notes (PDF) | The brand's logo, as it was when the invoice was issued. |
A new logo shows in customer emails within a minute. A document keeps the logo it was issued with, so a later upload changes no invoice that already exists.
Create a brand
Create a brand with a name of 1 to 140 characters and a supportEmail,
which is required. color is optional: # and six hex digits, stored in upper case.
{
"name": "Example Fitness",
"color": "#0a7c66",
"supportEmail": "help@example.com"
}Upload the logo afterwards, as multipart form data with the field
file. It must be a PNG or JPEG of at most 800 KB and 2000 pixels on each side. SVG is not accepted. Each upload gets a
new logoUrl, which anyone can open without a key, and the address of an earlier logo keeps working so emails already
sent still show it.
Update a brand changes the fields you send. supportEmail cannot be
removed. Set archived to true to stop new products joining a brand: its products, prices and subscriptions keep
working.
Put a product in a brand
Send brandId to Create a product. It must be one of your brands
that is not archived. A product keeps its brand.
A checkout session shows the brand of its saved prices. Prices of different brands cannot share a session, and a
brandId on the session must be the brand of those prices. A session with only free-form lines uses the brandId you
send, or your default brand.
One brand for each subscription
All items of a subscription must belong to products of one brand. Otherwise the request is refused with 400
parameter_invalid and param items. A later change of items must stay in the subscription's brand, with the same
error.
One subscription for each brand
With oneSubscriptionPerCustomer set to true in your billing settings, a customer can hold one open subscription
for each brand, whatever the product. It is false by default, and then a customer can hold one open subscription for each
product. See One subscription per customer.