Skip to main content

cartAcceptPurchaseAuthorizationRequest

Accept cart purchase authorization request. Use it to accept ownership of a cart that requires purchase authorization and finalize it.

Possible errors:

  • CART_NOT_FOUND_ERROR: Cart with the specified ID does not exist
  • CART_ACCEPT_PURCHASE_AUTHORIZATION_REQUEST_ERROR: Failed to accept purchase authorization
  • CART_INVALID_STATUS_ERROR: Cart is not in a valid state for authorization acceptance
  • CONTACT_NOT_FOUND_ERROR: Specified contact does not exist

AUTH: Role=[supervisor,admin,system,internal,order.OWNER,order.EDITOR] OR (('user is authenticated') AND ('contactId if present in input matches JWT'))

cartAcceptPurchaseAuthorizationRequest(
id: String!
input: CartAcceptPurchaseAuthorizationRequestInput
): Cart!

Arguments

cartAcceptPurchaseAuthorizationRequest.id ● String! non-null scalar

Cart unique identifier

cartAcceptPurchaseAuthorizationRequest.input ● CartAcceptPurchaseAuthorizationRequestInput input

Cart accept purchase authorization input

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.