commercetools icon

commercetools

Interact with the commercetools API. Operations are auto-generated from the official Postman collection.

Actions671

Standalone Price → Create StandalonePrice

AI-generated

Summary

Create a new Standalone Price in commercetools with specified details including key, SKU, value, country, customer group, tiers, and active status.

Inputs

  • Key (required) — Unique identifier for the Standalone Price.
  • Sku (required) — SKU of the product variant the price applies to.
  • Value › Currency Code — Currency code for the price amount.
  • Value › Cent Amount — Price amount in cent units.
  • Country (required) — Country code specifying the geographical scope of the price.
  • Customer Group › Type Id — Type identifier for the customer group to which the price applies.
  • Customer Group › Id — ID of the customer group to which the price applies.
  • Tiers (required) — JSON array defining price tiers for volume discounts or ranges.
  • Active (required) — Boolean indicating whether the price is active.

Output shape

a single record

Returns the created Standalone Price object as JSON if the creation is successful. Errors are returned in case of failure.

Links

Discussion