curl --request POST \
--url https://app.flowglad.com/api/v1/catalogs \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"catalog": {
"isDefault": true,
"name": "<string>"
}
}'
{
"catalog": {
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"createdByCommit": "<string>",
"updatedByCommit": "<string>",
"livemode": true,
"organizationId": "<string>",
"isDefault": true,
"name": "<string>"
}
}
curl --request POST \
--url https://app.flowglad.com/api/v1/catalogs \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"catalog": {
"isDefault": true,
"name": "<string>"
}
}'
{
"catalog": {
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"createdByCommit": "<string>",
"updatedByCommit": "<string>",
"livemode": true,
"organizationId": "<string>",
"isDefault": true,
"name": "<string>"
}
}
Successful response
The response is of type object
.
Was this page helpful?