Subscription migration guide

Shopify Subscriptions contract CSV: every column explained

Check a contract CSV

Header row

Missing, extra or duplicated columns stop the import (“Column is missing”, “Column is unsupported”, “Column is duplicated”). The file must be comma-separated and under 10 MB; split bigger files.

Exact header, from Shopify’s sample file
handle,upcoming_billing_date,customer_id,currency_code,status,cadence_interval,cadence_interval_count,customer_payment_method_id,delivery_price,delivery_method_type,delivery_address_first_name,delivery_address_last_name,delivery_address_address1,delivery_address_address2,delivery_address_city,delivery_address_province_code,delivery_address_country_code,delivery_address_company,delivery_address_zip,delivery_address_phone,delivery_local_delivery_phone,delivery_local_delivery_instructions,delivery_pickup_method_location_id,line_variant_id,line_quantity,line_current_price,line_selling_plan_id,line_selling_plan_name

Contract columns

  • handle: unique per contract. Rows with the same handle are one contract. Already-imported handles are skipped.
  • upcoming_billing_date: UTC, YYYY-MM-DDTHH:MM:SSZ, at least 24 hours after import.
  • customer_id: the Shopify customer ID (digits only).
  • currency_code: must be active in your store.
  • status: Active or Paused (Shopify’s sample writes ACTIVE).
  • cadence_interval: Week, Month or Year. cadence_interval_count: a whole number, at most 100 years in total.
  • customer_payment_method_id: a payment method saved on that customer in Shopify.
  • delivery_price: shipping per cycle, in a plain currency format like 5.95.

Delivery columns and blank-field rules

  • delivery_method_type: Shipping, Local Delivery, Pickup or None (the sample writes SHIPPING).
  • Shipping and Local Delivery need first name, last name, address1, city, province code, ISO country code and zip.
  • Shipping: local delivery phone, local delivery instructions and pickup location must be blank.
  • Local Delivery: needs delivery_local_delivery_phone; pickup location must be blank.
  • Pickup: needs delivery_pickup_method_location_id; all address fields and local delivery fields must be blank.
  • None: all address, local delivery and pickup fields must be blank.

Line item columns

  • line_variant_id: the numeric Shopify variant ID (not the product ID or SKU).
  • line_quantity: quantity of that item.
  • line_current_price: price per unit, plain format like 24.99.
  • line_selling_plan_id and line_selling_plan_name: optional.

More subscription migration guides

Sources:

Not affiliated with, endorsed by, or sponsored by Shopify Inc. Shopify is a trademark of Shopify Inc. Not affiliated with Recharge, Seal, Appstle or Loop.