Gestiono
Referencia de APIResources / Resource

Create Resource price

POST /v1/resource/price • validated by `postPriceTier`

← Back to full API reference
POST/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: postPriceTier.

Request details

Path params

No path parameters for this endpoint.

Query params

No explicit query schema was captured for this endpoint.

Body fields

  • resourceId

    Type: number

  • sku

    Type: string

  • variation (required)

    Type: string

  • maxDiscountVariation

    Type: string

  • recurrency

    Type: enum

    Example: ONE_TIME

  • minQuantity (required)

    Type: number

  • applicableToLabel

    Type: string

  • currency

    Enum-like validator generated by zodFromObj

Default payloads

Path params

json
{}

Query

json
{}

Body

json
{
  "variation": "string",
  "minQuantity": 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

POST/v1/resource/priceAuthentication required

Group: Resources / Resource

POST /v1/resource/price • validated by `postPriceTier`

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

Body fields

  • resourceId
    Type: number
  • sku
    Type: string
  • variationrequired
    Type: string
  • maxDiscountVariation
    Type: string
  • recurrency
    Type: enum
    Ejemplo: ONE_TIME
  • minQuantityrequired
    Type: number
  • applicableToLabel
    Type: string
  • currency
    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.