Referencia de APIResources / Resource
Create Resource cost bulk
← Back to full API reference
POST
/v1/resource/cost/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: postBulkCost.
Request details
Body fields
| Field | Required | Description |
|---|---|---|
| costs | Yes | Type: arrayExample: |
| costs[] | Yes | Type: object |
| costs[].resourceId | No | Type: number |
| costs[].sku | No | Type: string |
| costs[].defaultCost | Yes | Type: number |
| costs[].costStrategy | No | Enum-like validator generated by zodFromObj |
Default payloads
Path params
json
{}Query
json
{}Body
json
{
"costs": [
{
"defaultCost": 1
}
]
}Sample response
json
{
"success": true,
"message": "<value>",
"count": "<value>"
}