curl --location --request PUT 'https://api-sandbox.saaslogic.io/v1/products/' \
--header 'Authorization: Bearer ' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"productName": "External API UPD 02",
"description": "Zod description just updated",
"billingTypes": [
"on-demand",
"Recurring"
],
"resources": [
{
"resourceId": "54618f523a894e43a8ad7b4ed4b78d97",
"resourceName": "API2",
"uomGroupName": "General",
"isUnitLevelEnforceable": false,
"isDecimalAllowed": true,
"calculationType": "AVG",
"isProrated": true,
"overageCalculationType": "NoOverage"
}
],
"features": [
{
"featureName": "User Management",
"description": "Manage users and roles and assocaiated things"
}
],
"attributes": [
{
"attributeName": "Region",
"isMandatory": false
}
]
}'