ShoppingCart
Set accredited agents
Associates an accredited Agent with the specified cart
put/v3/checkout/shoppingCarts/{shoppingCartId}/accreditedAgents
Request
- Base URLhttps://marketplace.appdirect.com/api
- Authnone declared. Required headers: AD-ShoppingCart-Partner
Path parameters
shoppingCartIdstring required
Shopping cart ID
Headers
AD-ShoppingCart-Partnerstring required
The partner code of a marketplace
Request body
Example request
{
"accreditedAgents": [
{
"userId": "83407ce8-373f-11e6-ac61-9e71128cae77",
"companyId": "a411dc54-d46f-4002-ab00-3ea52e4eb118"
}
]
}Response
OK
Example response
{
"userId": "83407ce8-373f-11e6-ac61-9e71128cae77",
"companyId": "a411dc54-d46f-4002-ab00-3ea52e4eb118"
}