Skip to content
Last updated

SKU

Overview

A SKU (Stock Keeping Unit) represents the physical and logistical identity of a sellable item. SKUs hold inventory-related data like dimensions and weight, separate from product marketing content.

Products link to SKUs—simple products and variants require a SKU, while variant parents do not.

Basics

Core fields

code — Unique identifier for the SKU within your organization. Typically matches your inventory or ERP system's identifier.

Dimensions

SKUs can have dimensions (length, width, height) for shipping calculations and warehouse management.

You provide values in your organization's base dimension unit. The system automatically calculates conversions to all other configured units.

Supported units: millimeter, centimeter, meter, inch, foot

Weight

SKUs can have a weight value for shipping cost calculations.

You provide the value in your organization's base weight unit. The system automatically calculates conversions to all other configured units.

Supported units: gram, kilogram, pound, ounce

Unit configuration

Your organization configures:

  • A base unit for dimensions and a base unit for weight
  • Which additional units to include in conversions

When you read dimensions or weight, the response includes the base value plus a conversions object with all configured unit alternatives.

Changing the base unit doesn't require data migration—stored values remain unchanged, and conversions are recalculated on read.

Lifecycle

Status values

StatusDescription
draftInitial state, not available for products
publishedAvailable for linking to products
unpublishedTemporarily unavailable
removedSoft-deleted

Transitions

TransitionValid fromResults in
publishdraft, unpublishedpublished
unpublishpublishedunpublished
removedraft, published, unpublishedremoved
restoreremovedunpublished

Error codes

CodeDescription
SKU_NOT_FOUNDSKU does not exist
SKU_INVALID_TRANSITIONLifecycle transition not allowed
SKU_REMOVEDCannot modify a removed SKU
SKU_CODE_REQUIREDCode field is required
SKU_CODE_EMPTYCode cannot be empty