When you sign up, your account is created
with one organization and website.
You will need the website ID for making API requests (named
websiteId within most resources).
To find your website Id, first go to Settings --> Organizations & Websites.
Click on the organization. Then, from the organization detail screen, you can find your website(s) and website ID.
Rebilly's architecture allows for multiple organizations and websites managed from a single account. A website belongs to one and only one organization.
You can read more about organizations and websites in our help docs.
Certain core resources are scoped to the website (which belongs to an organization). By scoped, we mean that it is limited to the specific universe related to the website. So when an invoice is being paid, it must occur on a gateway account associated with that corresponding website.
Other core resources are not scoped. This tutorial will cover:
- customers -- not scoped
- payment instruments -- not scoped
- orders/subscriptions -- scoped
- invoices -- scoped
- transactions -- scoped
Gateway accounts are scoped to specific websites too.
Watch how to find your
websiteId in under 1 minute.
Did you find your website's id?
Great, let's continue...