CartCompleteInput
Input for cartComplete — finalises the cart into an Order.
input CartCompleteInput {
cartId: ID!
idempotencyKey: String
}
Fields
CartCompleteInput.cartId ● ID! non-null scalar
ID of the cart to complete.
CartCompleteInput.idempotencyKey ● String scalar
Optional idempotency key — guards against duplicate orders on retry / network issue. When omitted, the server derives one from the cart ID and the current minute, which is sufficient for the typical "user double-clicks the pay button" case.
Member Of
cartComplete mutation