B2B Buyer Data API
The B2B Buyer Data API allows you to create, retrieve, update, delete, and search buyer documents stored in the shopper data entity.
This feature is only available for stores using B2B Buyer Portal, which is currently available to select accounts.
Endpoints
Buyer data
| Summary | Method | Path |
|---|---|---|
| Get buyer schema | GET | /api/dataentities/shopper/schemas/v1 |
| Create buyer | POST | /api/dataentities/shopper/documents |
| Get buyer by ID | GET | /api/dataentities/shopper/documents/{buyerId} |
| Update buyer | PATCH | /api/dataentities/shopper/documents/{buyerId} |
| Delete buyer | DELETE | /api/dataentities/shopper/documents/{buyerId} |
| Search buyers | GET | /api/dataentities/shopper/search |