Gestiono
Referencia de APIResources / Resource

Update Resource bulk archive

← Back to full API reference
PATCH/v1/resource/bulk/archiveAuth required

Resource 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: patchResourceBulkArchive.

Request details

Body fields

FieldRequiredDescription
idsYesType: arrayExample:
ids[]YesType: number
archivedYesBoolean parser helper from common/utils.zBoolean

Default payloads

Path params

json
{}

Query

json
{}

Body

json
{
  "ids": [
    1
  ],
  "archived": true
}

Sample response

json
{
  "updated": "<value>"
}