ImpersonationConfigs allow users to make API calls on behalf of a buyer user, which we refer to as impersonation. If you're a marketplace owner user with the BuyerImpersonation role you can impersonate any buyer user under your organization as long as an applicable Impersonation Config has been created. If you're a buyer user with the BuyerImpersonation role you can impersonate any other buyer user within the same buyer company as long as an applicable Impersonation Config has been created.
Security
OAuth2(Required scopes: FullAccessSetSecurityProfile)
- Production sever for Ordercloudhttps://api.ordercloud.io/v1/impersonationconfig
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
curl -i -X GET \
'https://api.ordercloud.io/v1/impersonationconfig?search=string&searchOn=ImpersonationBuyerID&sortBy=ImpersonationBuyerID&page=1&pageSize=20&filters=' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
{ "Items": [ { … } ], "Meta": { "Page": 0, "PageSize": 0, "TotalCount": 0, "TotalPages": 0, "ItemRange": [ … ], "NextPageKey": "string" } }