> ## Documentation Index
> Fetch the complete documentation index at: https://docs.commerce.jolly.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Place a test order

> Guide on how to place a test order

> [!WARNING]
>
> Please ensure that you are using the [Staging environment](https://docs.commerce.jolly.dev/staging) to place test orders.

## Placing your first test order

To test your Rye integration, you can place test orders for Amazon and Shopify products. Read more about what products can be tested below.

> [accordion] Amazon products
>
> All Amazon products are available for testing.
>
> Use any ASIN (Amazon Standard Identification Number.
> Example: "B00TTD9BRC") as the `productId` when adding an item to cart. As long as the cart is submitted with a [valid test credit card](https://stripe.com/docs/testing#cards) as the payment method, Rye will consider the order to be a test order and won't place an actual order on Amazon.

> [accordion] Shopify products
>
> For Shopify products, Rye has created a development store that can be used by developers for placing test orders.
>
> If testing the [Sell Anything API](https://docs.commerce.jolly.dev/sell-anything-api-overview):
>
> * Test store: `https://rye-staging-sell-anything.myshopify.com/`
> * Password: `rye`
> * Example Variant ID: `47405773390109`
>
> If testing the [Sync API](https://docs.commerce.jolly.dev/sync-api-overview):
>
> * Test store: `https://rye-staging-test-store.myshopify.com/`
> * Password: `rye`
> * Product available for testing:
>   * Product ID `7620500881599`
>   * Variant ID `42707875856575`
>
> If you would like to test with your own Shopify store, [follow this guide](https://docs.commerce.jolly.dev/create-your-own-store) to create a development store with your own products.

***

To place a test order, follow the steps below:

1. [Create a cart](https://docs.commerce.jolly.dev/api-reference/createcart) with the Amazon `productId` or the Shopify `variantId`
   * If you don't have a product handy for testing, then refer to the previous section for sample products to test with.
2. [Update buyer identity](https://docs.commerce.jolly.dev/api-reference/updatecartbuyeridentity) for the cart if you did not include one during cart creation
3. [Submit the cart](https://docs.commerce.jolly.dev/api-reference/submitcart)

Now that you've successfully placed a test order, you can test out order updates via your [webhook integration](https://docs.commerce.jolly.dev/webhooks/testing) or view order details in the [Rye Console](https://console.commerce.staging.jolly.dev/orders).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.