Skip to main content
POST
/
v1
/
bucket
/
b5f7de1d-2bf2-41d6-89e9-3315d48fa4c1
/
checkout
Generate Checkout
curl --request POST \
  --url https://api.rokcel.com/v1/bucket/b5f7de1d-2bf2-41d6-89e9-3315d48fa4c1/checkout/ \
  --header 'Content-Type: application/json' \
  --data '
"{\r\n    \"external_id\": \"dc7f4bad-87a2-4c0a-9303-78c31a61ebeb\",\r\n    \"name\": \"exercitationem vero reiciendis\",\r\n    \"description\": \"Quidem non nobis mollitia. Sed sunt odit at repellat in adipisci. Deserunt voluptate nostrum.\",\r\n    \"published\": \"false\",\r\n    // \"published\": true,\r\n    \"products\": [\r\n        {\r\n            \"name\": \"Unbranded Granite Car\",\r\n            \"quantity\": 2,\r\n            \"price\": \"557.21\",\r\n            \"image\": \"http://placeimg.com/640/480\"\r\n        },\r\n        {\r\n            \"name\": \"Handcrafted Concrete Hat\",\r\n            \"quantity\": 2,\r\n            \"price\": \"579.79\",\r\n            \"image\": \"http://placeimg.com/640/480\"\r\n        }\r\n    ]\r\n}"
'

Headers

cache-control
string
Example:

"no-cache"

postman-token
string
Example:

"<calculated when request is sent>"

content-length
string
Example:

"0"

host
string
Example:

"<calculated when request is sent>"

user-agent
string
Example:

"PostmanRuntime/7.39.1"

accept-encoding
string
Example:

"gzip, deflate, br"

connection
string
Example:

"keep-alive"

x-auth-token
string
Example:

"{{APP_TOKEN}}"

Response

200 - undefined