Gestiono
Referencia de APIResources / Resource

Update Resource price

PATCH /v1/resource/price • validated by `patchPriceTier`

← Back to full API reference
PATCH/v1/resource/priceAuthentication 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: patchPriceTier.

Request details

Path params

No path parameters for this endpoint.

Query params

No explicit query schema was captured for this endpoint.

Body fields

  • id (required)

    Type: number

  • variation

    Type: string

  • maxDiscountVariation

    Type: string

  • resourceId (required)

    Type: number

  • recurrency

    Type: enum

    Example: ONE_TIME

  • currency

    Enum-like validator generated by zodFromObj

  • minQuantity

    Type: number

  • applicableToLabel

    Type: string

Default payloads

Path params

json
{}

Query

json
{}

Body

json
{
  "id": 1,
  "resourceId": 1
}

Sample response

json
"<result>"

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

PATCH/v1/resource/priceAuthentication required

Group: Resources / Resource

PATCH /v1/resource/price • validated by `patchPriceTier`

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

Body fields

  • idrequired
    Type: number
  • variation
    Type: string
  • maxDiscountVariation
    Type: string
  • resourceIdrequired
    Type: number
  • recurrency
    Type: enum
    Ejemplo: ONE_TIME
  • currency
    Enum-like validator generated by zodFromObj
  • minQuantity
    Type: number
  • applicableToLabel
    Type: string

3. Prepare request payload

4. Server response

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