Gestiono
Referencia de APIResources / Resource

Create Resource cost bulk

POST /v1/resource/cost/bulk • validated by `postBulkCost`

← Back to full API reference
POST/v1/resource/cost/bulkAuthentication 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: postBulkCost.

Request details

Path params

No path parameters for this endpoint.

Query params

No explicit query schema was captured for this endpoint.

Body fields

  • costs (required)

    Type: array

    Example:

  • costs[] (required)

    Type: object

  • costs[].resourceId

    Type: number

  • costs[].sku

    Type: string

  • costs[].defaultCost (required)

    Type: number

  • costs[].costStrategy

    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>"
}

Test this endpoint now

Use your own credentials and execute a live request directly from this page.

1. Configure authentication for testing

You can test endpoints with signed API keys, a raw Authorization token, or browser cookies. Select one mode and fill in the required fields.

2. Select endpoint

POST/v1/resource/cost/bulkAuthentication required

Group: Resources / Resource

POST /v1/resource/cost/bulk • validated by `postBulkCost`

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: postBulkCost.

Body fields

  • costsrequired
    Type: array
    Ejemplo:
  • costs[]required
    Type: object
  • costs[].resourceId
    Type: number
  • costs[].sku
    Type: string
  • costs[].defaultCostrequired
    Type: number
  • costs[].costStrategy
    Enum-like validator generated by zodFromObj

3. Prepare request payload

4. Server response

Run a request to inspect the real-time response for your environment.