PATCH /external/api/products/{productId}/prices

PATCH /external/api/products/{productId}/prices

Path parameters

  • productId string Required

Body

  • storeId string | null
  • prices array[object] | null
    Hide prices attributes Show prices attributes object
    • dimensionId string Required

      Minimum length is 1.

    • currencyCode string Required

      Minimum length is 0, maximum length is 3.

    • amount integer(int32) Required

      Minimum value is 0, maximum value is 2147483647.

    • taxPercent integer(int32) Required
    • adjustmentTypeId string(uuid) | null
    • validFrom string(date-time) | null

Body

  • storeId string | null
  • prices array[object] | null
    Hide prices attributes Show prices attributes object
    • dimensionId string Required

      Minimum length is 1.

    • currencyCode string Required

      Minimum length is 0, maximum length is 3.

    • amount integer(int32) Required

      Minimum value is 0, maximum value is 2147483647.

    • taxPercent integer(int32) Required
    • adjustmentTypeId string(uuid) | null
    • validFrom string(date-time) | null

Body

  • storeId string | null
  • prices array[object] | null
    Hide prices attributes Show prices attributes object
    • dimensionId string Required

      Minimum length is 1.

    • currencyCode string Required

      Minimum length is 0, maximum length is 3.

    • amount integer(int32) Required

      Minimum value is 0, maximum value is 2147483647.

    • taxPercent integer(int32) Required
    • adjustmentTypeId string(uuid) | null
    • validFrom string(date-time) | null

Responses

  • 200

    Success

PATCH /external/api/products/{productId}/prices
curl \
 --request PATCH 'https://api.fygi.store/external/api/products/{productId}/prices' \
 --header "authorization: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '{"storeId":"string","prices":[{"dimensionId":"string","currencyCode":"string","amount":42,"taxPercent":42,"adjustmentTypeId":"string","validFrom":"2025-05-04T09:42:00Z"}]}'
curl \
 --request PATCH 'https://api.fygi.store/external/api/products/{productId}/prices' \
 --header "authorization: $API_KEY" \
 --header "Content-Type: text/json"
curl \
 --request PATCH 'https://api.fygi.store/external/api/products/{productId}/prices' \
 --header "authorization: $API_KEY" \
 --header "Content-Type: application/*+json"
Request examples
{
  "storeId": "string",
  "prices": [
    {
      "dimensionId": "string",
      "currencyCode": "string",
      "amount": 42,
      "taxPercent": 42,
      "adjustmentTypeId": "string",
      "validFrom": "2025-05-04T09:42:00Z"
    }
  ]
}
Request examples
{
  "storeId": "string",
  "prices": [
    {
      "dimensionId": "string",
      "currencyCode": "string",
      "amount": 42,
      "taxPercent": 42,
      "adjustmentTypeId": "string",
      "validFrom": "2025-05-04T09:42:00Z"
    }
  ]
}
Request examples
{
  "storeId": "string",
  "prices": [
    {
      "dimensionId": "string",
      "currencyCode": "string",
      "amount": 42,
      "taxPercent": 42,
      "adjustmentTypeId": "string",
      "validFrom": "2025-05-04T09:42:00Z"
    }
  ]
}