Gestiono
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

FieldRequiredDescription
recordsYesType: arrayExample:
records[]YesType: object
records[].resourceIdNoType: number
records[].skuNoType: string
records[].divisionIdYesType: number
records[].currentStockYesType: number
records[].descriptionNoType: string

Default payloads

Path params

json
{}

Query

json
{}

Body

json
{
  "records": [
    {
      "divisionId": 1,
      "currentStock": 1
    }
  ]
}

Sample response

json
"<result>"