cartRequestPurchaseAuthorization
Request cart purchase authorization. Use it to finalize a cart that cannot be processed because purchase authorization (by an authorization manager) is required. The cart status will be changed to PENDING_PURCHASE_AUTHORIZATION.
Possible errors:
- CART_NOT_FOUND_ERROR: Cart with the specified ID does not exist
- CART_REQUEST_PURCHASE_AUTHORIZATION_ERROR: Failed to request purchase authorization
- CART_INVALID_STATUS_ERROR: Cart is not in a valid state for purchase authorization
AUTH: Role=[order.OWNER,order.EDITOR] OR ('user is authenticated')
cartRequestPurchaseAuthorization(
id: String!
): Cart!
Arguments
cartRequestPurchaseAuthorization.id
● String!
non-null scalar
Cart unique identifier
Type
Cart
object
Shopping cart entity for managing customer purchases.
Represents a shopping session containing products, customer information, addresses, payment preferences, and all data needed for order processing. Carts can be associated with different customer types and support various business models.