Skip to main content

SKU maximum length increased to 255 characters

What's new

The sku field on catalog objects now accepts up to 255 characters, up from the previous 100-character limit. The larger limit applies to both requests and responses, and to every nested item — items, lootboxes and their nested items, subscriptions, virtual currencies, bonus items, and fallback items.

Impact

You can now create and update items with SKUs longer than 100 characters. Responses may return SKUs up to 255 characters, so any consumer that stores or validates SKU length should widen its constraint to avoid truncation or validation failures.

Changes

ResourceChange
get_items, create_item, bulk_create_or_update_items, bulk_update_items, get_item, update_item, translate_itemsku request and response maxLength increased from 100 to 255
get_all_store_items, get_store_items, get_campaign_store_items, get_user_store_items, create_store_item, update_store_item, bulk_update_store_itemssku response maxLength increased from 100 to 255
get_coupons, create_coupon, bulk_update_coupon, get_coupon, update_coupon, get_user_couponssku response maxLength increased from 100 to 255
get_daily_rewards, create_daily_reward, get_daily_reward, update_daily_reward, copy_daily_rewardsku response maxLength increased from 100 to 255
get_loyalty_tiers, update_loyalty_tierssku response maxLength increased from 100 to 255

Upgrade

  • If you validate or store SKU values, widen the field to accept up to 255 characters so longer SKUs are not rejected or truncated.

Need help?
Contact our integration team at integration@aghanim.com