accounts
Entry Point: /accounts/{scope}
The accounts resource provides access to the details of an organizational account. Using the resource you can retrieve account attribute values.You can also retrieve the accounts’s purchases through this resource.
Read Account List
Retrieve a list of accounts that the logged-in user is associated to.
Workflow
- Start with root
GET
the link with rel: defaultprofileGET
the link with rel: accounts- Render the response
Read Account
Retrieve read/write attributes on an account.
Workflow
- Start with root
GET
the link with rel: defaultprofileGET
the link with rel: accountsGET
the link with rel: element- Render the response
Response Fields
accounts.account
Type: Name | Description | Type |
---|---|---|
business-name | Account’s business name. | string |
business-number | Account’s business number. | string |
fax | Account’s fax number. | string |
phone | Account’s phone number. | string |
tax-exemption-id | Account’s tax exemption ID. | string |
Read Attributes From Account
Retrieve a list of read-only attributes for the account.
Workflow
- Start with root
GET
the link with rel: defaultprofileGET
the link with rel: accountsGET
the link with rel: elementGET
the link with rel: attributes- Render the response
Read Purchases From Profile
Retrieve a list of purchases for the logged in customer.
Workflow
GET
the link with rel: defaultprofileGET
the link with rel: accountsGET
the link with rel: elementGET
the link with rel: purchases- Render the response