curl --location --request PUT 'https://api.ordermesh.io/catalog/v1/merchantCatalog' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"id": "681abd18c61bccfab89bc63e",
"name": "Updated Product Catalog",
"description": "A comprehensive catalog of all available products for this merchant",
"isEnabled": true,
"assignedToSubAccountIds": [
"7a2b1d33-c5ef-4a8b-9c7d-5e6f7a8b9c12",
"15115a31-c5ef-4a8b-9c7d-5e6f7a8b9c12"
]
}'{
"catalog": {
"id": "catalog123",
"ownerMerchantId": "merchant123",
"name": "Complete Catalog Update",
"description": "This catalog has been completely updated.",
"isEnabled": false,
"assignedToSubAccountIds": [
"subAccount1",
"subAccount2"
]
}
}