Store Slug

Store slug is a unique identifier for the store. It is made up of the following segments:

{merchant_slug}-{country_region_code}-{marketplace_slug}-{suffix}

merchant_slug is a unique identifier for the merchant. The merchant slug is generated automatically by AfterShip according to a predefined algorithm.

e.g.

  • hm.com → hm
  • nike.com → nike

If a merchant has stores in multiple regions then country_region_code segment will be used. See ISO 3166.

e.g.

  • nike.com/fr →
    merchant_slug = nike
    country_region_code = fr
  • gapcanada.ca →
    merchant_slug = gap
    country_region_code = ca
  • amazon.ca →
    merchant_slug = amazon
    country_region_code = ca

If the store is hosted on a marketplace (e.g. eBay), it will be distinguished by marketplace_slug.

e.g.

  • ebay.com/str/sportex24 →
    merchant_slug = sportex24
    marketplace_slug = ebay

If a merchant has two or more stores, suffix will be used to distinguish the stores.

e.g.

  • ebay.com/str/id4shoes →
    merchant_slug = id4shoes
    marketplace_slug = ebay
    suffix = null
  • ebay.com/str/id4shoes-2 →
    merchant_slug = id4shoes
    marketplace_slug = ebay
    suffix = 2
  • boohoo.com →
    merchant_slug = boohoo
    suffix = null
  • boohooman.com →
    merchant_slug = boohoo
    suffix = man