guest-carts/{cartId}/payment-information

guest-carts/{cartId}/payment-information

post/V1/guest-carts/{cartId}/payment-information

Set payment information and place order for a specified cart.

Request
path Parameters
cartId
required
string
Request Body schema:
object (quote-data-address-interface)

Interface AddressInterface

email
required
string
required
object (quote-data-payment-interface)

Interface PaymentInterface

Responses
200

200 Success.

500

Internal Server error

default

Unexpected error

Request samples
{
  • "email": "string",
  • "paymentMethod": {
    },
  • "billingAddress": {
    }
}
Response samples
0
0

guest-carts/{cartId}/payment-information

get/V1/guest-carts/{cartId}/payment-information

Get payment information

Request
path Parameters
cartId
required
string
Responses
200

200 Success.

default

Unexpected error

Response samples
{
  • "payment_methods": [
    ],
  • "totals": {
    },
  • "extension_attributes": { }
}