Product Variant

Upsert a product variant

Upsert a product variant

put/unstable/product-variant

Request

  • Base URL
    https://api.authentified.co
  • Auth
    API key in header X-Authentified-API-Key

Request body

idstring required

The Unique Identifier of the product variant in your system

productIdstring required

The Unique Identifier of the product this variant belongs to

colourstring

Colour of the product

sizestring

Category of the product

weightnumber

Category of the product

weightUnit'GRAMS' | 'KILOGRAMS' | 'OUNCES' | 'POUNDS'

The status of the product

createdAtstring date-time

The date and time when the product variant was created in your system

updatedAtstring date-time

The date and time when the product variant was updated in your system

Example request

{
  "id": "6426781",
  "productId": "458291",
  "colour": "Red",
  "size": "S",
  "weight": 0.35,
  "weightUnit": "KILOGRAMS",
  "createdAt": "2023-10-01T12:12:00Z",
  "updatedAt": "2023-10-01T18:38:00Z"
}

Response

Product variant updated successfully

idstring required

The Unique Identifier of the product variant in your system

productIdstring required

The Unique Identifier of the product this variant belongs to

colourstring

Colour of the product

sizestring

Category of the product

weightnumber

Category of the product

weightUnit'GRAMS' | 'KILOGRAMS' | 'OUNCES' | 'POUNDS'

The status of the product

createdAtstring date-time

The date and time when the product variant was created in your system

updatedAtstring date-time

The date and time when the product variant was updated in your system

Example response

{
  "id": "6426781",
  "productId": "458291",
  "colour": "Red",
  "size": "S",
  "weight": 0.35,
  "weightUnit": "KILOGRAMS",
  "createdAt": "2023-10-01T12:12:00Z",
  "updatedAt": "2023-10-01T18:38:00Z"
}

Changes

No recorded changes to this operation across all 1 revision of this API.