curl --request POST \
--url https://prod01-apigw.{customer_name}.fabric.zone/api-order/checkout \
--header 'Content-Type: application/json' \
--data '
{
"cartId": "5e4876e10cfe1d8902005d33",
"customerEmail": "[email protected]",
"paymentDetails": [
{
"transactionDetails": {
"paymentType": "CARD",
"tokenizedPaymentMethod": "12fyg3fv4dbb56bbd7dfb890123456",
"cardNumber": "1234567890123456",
"expDate": "0220",
"cvv": "123",
"cardHolderFullName": "Mr John Smith",
"metadata": {}
},
"paymentMethod": "Visa",
"paymentKind": "<string>",
"amount": 533.33,
"currency": "USD",
"billToAddress": {
"name": {
"first": "John",
"last": "Smith",
"middle": "Paul"
},
"email": "[email protected]",
"street1": "10400 NE 4th St",
"city": "Bellevue",
"state": "WA",
"country": "USA",
"zipCode": "98004",
"phone": {
"number": "123-456-7890",
"kind": "Mobile"
},
"street2": "Suite 500",
"kind": "Bill to address"
},
"billToId": 1000001,
"shipToId": [
1000001,
1000002
],
"conversion": 1.12
}
],
"estimatedTax": {
"itemsTaxes": [
{
"lineItemId": 2,
"amount": 20
}
],
"shipToTaxes": [
{
"shipToId": "5ec35a857e6cac8d99a57d3b",
"amount": 20
}
]
},
"customerAccountId": "5e3598e3007c5e00080d2bb8",
"customerPhoneNumber": {
"number": "123-456-7890",
"kind": "Mobile"
},
"shipFrom": {
"street1": "10400 NE 4th St",
"city": "Bellevue",
"state": "WA",
"country": "USA",
"zipCode": "98004"
}
}
'{
"checkoutComplete": true,
"orderId": "9376-1544-24209"
}Order checkout
curl --request POST \
--url https://prod01-apigw.{customer_name}.fabric.zone/api-order/checkout \
--header 'Content-Type: application/json' \
--data '
{
"cartId": "5e4876e10cfe1d8902005d33",
"customerEmail": "[email protected]",
"paymentDetails": [
{
"transactionDetails": {
"paymentType": "CARD",
"tokenizedPaymentMethod": "12fyg3fv4dbb56bbd7dfb890123456",
"cardNumber": "1234567890123456",
"expDate": "0220",
"cvv": "123",
"cardHolderFullName": "Mr John Smith",
"metadata": {}
},
"paymentMethod": "Visa",
"paymentKind": "<string>",
"amount": 533.33,
"currency": "USD",
"billToAddress": {
"name": {
"first": "John",
"last": "Smith",
"middle": "Paul"
},
"email": "[email protected]",
"street1": "10400 NE 4th St",
"city": "Bellevue",
"state": "WA",
"country": "USA",
"zipCode": "98004",
"phone": {
"number": "123-456-7890",
"kind": "Mobile"
},
"street2": "Suite 500",
"kind": "Bill to address"
},
"billToId": 1000001,
"shipToId": [
1000001,
1000002
],
"conversion": 1.12
}
],
"estimatedTax": {
"itemsTaxes": [
{
"lineItemId": 2,
"amount": 20
}
],
"shipToTaxes": [
{
"shipToId": "5ec35a857e6cac8d99a57d3b",
"amount": 20
}
]
},
"customerAccountId": "5e3598e3007c5e00080d2bb8",
"customerPhoneNumber": {
"number": "123-456-7890",
"kind": "Mobile"
},
"shipFrom": {
"street1": "10400 NE 4th St",
"city": "Bellevue",
"state": "WA",
"country": "USA",
"zipCode": "98004"
}
}
'{
"checkoutComplete": true,
"orderId": "9376-1544-24209"
}"0LybWR49k95cCwYh3cu0waCYoh4H2Eux2J52wn4k"
24"5e4876e10cfe1d8902005d33"
31Show child attributes
Show child attributes
CARD, NON_CARD 4 - 8"CARD"
"12fyg3fv4dbb56bbd7dfb890123456"
13 - 19"1234567890123456"
4"0220"
3 - 4"123"
100"Mr John Smith"
2"Visa"
x >= 0533.33
3"USD"
Show child attributes
Show child attributes
3"10400 NE 4th St"
2"Bellevue"
2"WA"
2"USA"
2"98004"
"Suite 500"
"Bill to address"
1000001
1[1000001, 1000002]1.12
Show child attributes
3"5e3598e3007c5e00080d2bb8"
Show child attributes
"10400 NE 4th St"
2"Bellevue"
2"WA"
2"USA"
2"98004"
Was this page helpful?