Referencia de APIResources / Resource
Update Resource price
← Back to full API reference
PATCH
/v1/resource/priceAuth requiredResource endpoints let you create and maintain catalog items used across sales, purchasing, and inventory workflows.
- Requires organization permissions for this resource.
- Validated by Zod schema: patchPriceTier.
Request details
Body fields
| Field | Required | Description |
|---|---|---|
| id | Yes | Type: number |
| variation | No | Type: string |
| maxDiscountVariation | No | Type: string |
| resourceId | Yes | Type: number |
| recurrency | No | Type: enumExample: ONE_TIME |
| currency | No | Enum-like validator generated by zodFromObj |
| minQuantity | No | Type: number |
| applicableToLabel | No | Type: string |
| applicableToAccountingLabel | No | Type: string |
| expiresAt | No | Type: string |
| usageLimit | No | Type: number |
| usageLimitPerBeneficiary | No | Type: number |
| usageUnitLimit | No | Type: number |
| usageUnitLimitPerBeneficiary | No | Type: number |
Default payloads
Path params
json
{}Query
json
{}Body
json
{
"id": 1,
"resourceId": 1
}Sample response
json
"<result>"