AdminPostProductsProductVariantsReq
internal.internal.AdminPostProductsProductVariantsReq
Schema
Learn about the metadata attribute, and how to delete and update it.currency_code is not provided.
type: string
currency_code:
description: The 3 character ISO currency code the price will be used in. This is only required if region_id is not provided.
type: string
externalDocs:
url: https://en.wikipedia.org/wiki/ISO_4217#Active_codes
description: See a list of codes.
amount:
description: The price amount.
type: integer
min_quantity:
description: The minimum quantity required to be added to the cart for the price to be used.
type: integer
max_quantity:
description: The maximum quantity required to be added to the cart for the price to be used.
type: integer
options:
type: array
description: An array of Product Option values that the variant corresponds to.
items:
type: object
required:
Properties
allow_backorderbooleanbarcodestringeanstringheightnumberhs_codestringinventory_quantitynumberlengthnumbermanage_inventorybooleanmaterialstringmetadataRecord<string, unknown>mid_codestringoptionsProductVariantOptionReq[]origin_countrystringskustringtitlestringRequiredupcstringweightnumberwidthnumber