POST
/
api
/
v1
/
catalogs
/
{id}
/
clone
curl --request POST \
  --url https://app.flowglad.com/api/v1/catalogs/{id}/clone \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>"
}'
{
  "catalog": {
    "id": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "livemode": true,
    "organizationId": "<string>",
    "isDefault": true,
    "name": "<string>",
    "products": [
      {
        "id": "<string>",
        "createdAt": "2023-11-07T05:31:56Z",
        "updatedAt": "2023-11-07T05:31:56Z",
        "livemode": true,
        "name": "<string>",
        "description": "<string>",
        "imageURL": "<string>",
        "organizationId": "<string>",
        "displayFeatures": [
          {
            "enabled": true,
            "label": "<string>",
            "details": "<string>"
          }
        ],
        "active": true,
        "singularQuantityLabel": "<string>",
        "pluralQuantityLabel": "<string>",
        "catalogId": "<string>",
        "prices": [
          {
            "id": "<string>",
            "createdAt": "2023-11-07T05:31:56Z",
            "updatedAt": "2023-11-07T05:31:56Z",
            "livemode": true,
            "intervalUnit": "day",
            "name": "<string>",
            "intervalCount": 123,
            "type": "subscription",
            "trialPeriodDays": 123,
            "setupFeeAmount": 123,
            "isDefault": true,
            "unitPrice": 123,
            "productId": "<string>",
            "active": true,
            "currency": "USD"
          }
        ],
        "defaultPrice": {
          "id": "<string>",
          "createdAt": "2023-11-07T05:31:56Z",
          "updatedAt": "2023-11-07T05:31:56Z",
          "livemode": true,
          "intervalUnit": "day",
          "name": "<string>",
          "intervalCount": 123,
          "type": "subscription",
          "trialPeriodDays": 123,
          "setupFeeAmount": 123,
          "isDefault": true,
          "unitPrice": 123,
          "productId": "<string>",
          "active": true,
          "currency": "USD"
        }
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Path Parameters

id
string
required

Body

application/json
name
string
required

Response

200
application/json
Successful response
catalog
object
required