Storing Line Item Design Files, Testing Phone Numbers in Checkout, and Retrieving Order IDs

Hi,

  1. We found that the addToCart action does not allow sending line item properties (attribution?: LineItemAttribution).
    Do you know if there is another way to attach a design file (or img url from shopify cdn) to the cart, or somewhere else we can store this information?

  2. Checkout – Add Phone Number
    Could you provide any workaround or guidance so our development team can test this feature?

  3. Order ID Access
    I can see the useOrders API, but can we retrieve the Order ID for users who make a purchase after using our app?
    We need to confirm whether our app can obtain the customer’s Order ID so we can send the generated design image along with the Order ID to the merchant, ensuring the shop prints the correct order.

Thanks for your questions, and apologies for the delay.

Unfortunately, the use cases you’ve described aren’t supported on the platform today:

  1. Line item properties – The addToCart action doesn’t support attaching design files directly to cart items.
  2. Phone number in checkout – This isn’t testable in the current sandbox environment, and our platform guidelines restrict directly collecting user contact information within Minis.
  3. Order ID access – The useOrders hook returns order details but doesn’t expose the merchant-facing Order ID. This is intentional to maintain the separation between the Shop experience and individual merchant systems.

I know these limitations don’t solve your original use case, but happy to help if you’re exploring other approaches!

1 Like