Referencia de APIResources / Resource
Create Resource price bulk
← Back to full API reference
POST
/v1/resource/price/bulkAuth 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: postBulkPriceTier.
Request details
Body fields
| Field | Required | Description |
|---|---|---|
| priceTiers | Yes | Type: arrayExample: |
| priceTiers[] | Yes | Type: object |
| priceTiers[].resourceId | No | Type: number |
| priceTiers[].sku | No | Type: string |
| priceTiers[].variation | Yes | Type: string |
| priceTiers[].maxDiscountVariation | No | Type: string |
| priceTiers[].recurrency | No | Type: enumExample: ONE_TIME |
| priceTiers[].minQuantity | Yes | Type: number |
| priceTiers[].applicableToLabel | No | Type: string |
| priceTiers[].applicableToAccountingLabel | No | Type: string |
| priceTiers[].expiresAt | No | Type: string |
| priceTiers[].usageLimit | No | Type: number |
| priceTiers[].usageLimitPerBeneficiary | No | Type: number |
| priceTiers[].usageUnitLimit | No | Type: number |
| priceTiers[].usageUnitLimitPerBeneficiary | No | Type: number |
| priceTiers[].currency | No | Enum-like validator generated by zodFromObj |
Default payloads
Path params
json
{}Query
json
{}Body
json
{
"priceTiers": [
{
"variation": "string",
"minQuantity": 1
}
]
}Sample response
json
"<result>"