curl --request POST \
--url https://api.hostwithdothost.com/carts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"cartDetails": [
{
"description": "<string>",
"quantity": 123,
"price": 123,
"total": 123,
"productType": "<string>"
}
]
}'
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Was this page helpful?
curl --request POST \
--url https://api.hostwithdothost.com/carts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"cartDetails": [
{
"description": "<string>",
"quantity": 123,
"price": 123,
"total": 123,
"productType": "<string>"
}
]
}'
curl --request POST \
--url https://api.hostwithdothost.com/carts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"cartDetails": [
{
"description": "<string>",
"quantity": 123,
"price": 123,
"total": 123,
"productType": "<string>"
}
]
}'
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Was this page helpful?
curl --request POST \
--url https://api.hostwithdothost.com/carts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"cartDetails": [
{
"description": "<string>",
"quantity": 123,
"price": 123,
"total": 123,
"productType": "<string>"
}
]
}'