Referencia de APIResources / Record
Create Record bulk stock
← Back to full API reference
POST
/v1/resource/record/bulk-stockAuth required- Validated by Zod schema: postBulkStockUpdate.
Request details
Body fields
| Field | Required | Description |
|---|---|---|
| records | Yes | Type: arrayExample: |
| records[] | Yes | Type: object |
| records[].resourceId | No | Type: number |
| records[].sku | No | Type: string |
| records[].divisionId | Yes | Type: number |
| records[].currentStock | Yes | Type: number |
| records[].description | No | Type: string |
Default payloads
Path params
json
{}Query
json
{}Body
json
{
"records": [
{
"divisionId": 1,
"currentStock": 1
}
]
}Sample response
json
"<result>"