Skip to main content

Create Regular Good

POST 

/catalog/goods/regular

Creates a regular (retail) good for the company resolved from gateway context.

Provide variations (1–150 items). Per-variation name is optional in the schema; when there is more than one variation, each element must include a non-empty name (otherwise 400 / validation_error). With exactly one variation, omit name on that element — use the good-level name for display.

Code entries in codes use CodeEntryDTO. Violations return 400 with validation_error.

Request

Body

required

    name stringrequired

    Possible values: >= 2 characters and <= 128 characters

    Display name

    description stringnullable

    Possible values: >= 2 characters and <= 1024 characters

    Additional information

    external_data

    object

    External system reference data linked to this entity.

    id stringrequired

    Possible values: >= 4 characters and <= 128 characters

    Unique identifier in the external system

    property name* any

    External system reference data linked to this entity.

    category_id uuidnullable

    Category identifier. Null to place the good at root level.

    uom_id uuidrequired

    Unit of measure identifier. Use GET /uoms to discover available values.

    vat

    object

    required

    VAT fee item (tax rate) applied to this good; all variations share the same VAT. Use GET /fees and choose an id from one of the returned fees' fee_items[].

    fee_item_id uuidrequired

    Fee item identifier (matches id in fee_items[] returned by GET /fees).

    variations

    object[]

    required

    Possible values: >= 1, <= 150

    Sellable variations of the good.

  • Array [

  • name string

    Possible values: non-empty and <= 128 characters

    Variation display name; required when the good has multiple variations.

    description stringnullable

    Possible values: >= 2 characters and <= 1024 characters

    external_data

    object

    External system reference data linked to this entity.

    id stringrequired

    Possible values: >= 4 characters and <= 128 characters

    Unique identifier in the external system

    property name* any

    External system reference data linked to this entity.

    status stringrequired

    Possible values: [active, inactive]

    Default value: active

    Variation lifecycle status at creation time.

    default_price

    object

    Price (amount + currency). Is used to represent monetary amounts in various currencies. The minimum value includes 0.

    value int64required

    Amount in minimum currency units

    currency_code stringrequired

    ISO 4217 currency code. Available values: AED

    codes

    object[]

    Possible values: <= 20

    Typed identifiers (barcodes and SKUs) for the variation. Each entry uses CodeEntryDTO (type + value).

  • Array [

  • type stringrequired

    Possible values: [ean_8, ean_13, itf_14, upc_a, sku, other]

    Type of code; use other when the value does not map to a listed barcode or SKU kind.

    value stringrequired

    Possible values: >= 4 characters and <= 128 characters

  • ]

  • ]

Responses

Created

Schema

    id uuidrequired

    Good identifier (same as catalog item id)

    name stringrequired

    Possible values: >= 2 characters and <= 128 characters

    description stringnullable

    Possible values: >= 2 characters and <= 1024 characters

    external_data

    object

    nullable

    External system reference data linked to this entity.

    id stringrequired

    Possible values: >= 4 characters and <= 128 characters

    Unique identifier in the external system

    property name* any

    External system reference data linked to this entity.

    status GoodStatusPublicDTO (string)required

    Possible values: [active, inactive, unknown]

    Good lifecycle status

    category_id uuidnullable
    business_type RegularGoodBusinessTypePublicDTO (string)required

    Possible values: [regular]

    Business type for goods returned from /catalog/goods/regular. The API always returns regular on this surface.

    uom

    object

    required

    Unit of measure

    id uuidrequired

    UOM identifier; matches uom_id in good

    name stringrequired

    Possible values: >= 2 characters and <= 32 characters

    Full name

    symbol stringrequired

    Possible values: non-empty and <= 16 characters

    Short display label

    exponent integerrequired

    Possible values: <= 3

    Decimal exponent (e.g. 3 means quantities are in thousandths)

    vat

    object

    required

    VAT fee item for the good (all variations share the same item). Values align with the matching entry in GET /feesfee_items[] for fee_item_id.

    fee_item_id uuidrequired

    Fee item identifier; matches id in fee_items[].

    fee_item_name stringrequired

    Possible values: >= 2 characters and <= 64 characters

    Fee item display name (e.g. tax rate label).

    fee_item_percentage double

    Possible values: <= 100

    Tax rate in percent (decimal, e.g. 5 or 5.25). Omitted when the fee item is exempt or non-percentage.

    variations

    object[]

    required

    Possible values: >= 1, <= 150

    Sellable variations of the good.

  • Array [

  • id uuidrequired

    Variation identifier

    name stringnullable

    Possible values: <= 128 characters

    Variation display name; null when this is the only variation on the good.

    description stringnullable

    Possible values: >= 2 characters and <= 1024 characters

    external_data

    object

    nullable

    External system reference data linked to this entity.

    id stringrequired

    Possible values: >= 4 characters and <= 128 characters

    Unique identifier in the external system

    property name* any

    External system reference data linked to this entity.

    status PublicVariationStatuses (string)required

    Possible values: [active, inactive]

    Variation lifecycle status for public responses

    default_price

    object

    Price (amount + currency). Is used to represent monetary amounts in various currencies. The minimum value includes 0.

    value int64required

    Amount in minimum currency units

    currency_code stringrequired

    ISO 4217 currency code. Available values: AED

    image_url stringnullable

    Possible values: <= 2048 characters

    Link to variation image when available.

    codes

    object[]

    required

    Possible values: <= 20

  • Array [

  • type stringrequired

    Possible values: [ean_8, ean_13, itf_14, upc_a, sku, other]

    Type of code; use other when the value does not map to a listed barcode or SKU kind.

    value stringrequired

    Possible values: >= 4 characters and <= 128 characters

  • ]

  • ]

Loading...