Referencia de APIResources / Resource
Create Resource price
← Back to full API reference
POST
/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: postPriceTier.
Request details
Body fields
| Field | Required | Description |
|---|---|---|
| resourceId | No | Type: number |
| sku | No | Type: string |
| variation | Yes | Type: string |
| maxDiscountVariation | No | Type: string |
| recurrency | No | Type: enumExample: ONE_TIME |
| minQuantity | Yes | 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 |
| currency | No | Enum-like validator generated by zodFromObj |
Default payloads
Path params
json
{}Query
json
{}Body
json
{
"variation": "string",
"minQuantity": 1
}Sample response
json
"<result>"