---
updatedAt: 2026-10-29T11:54:48.000Z
agentTools:
  projectIndex: https://docs.yotpo.com/llms.txt
---

# Working with entity identifiers

Orders, products, product variants and collections already have their own IDs in the store's e-commerce platform. In Yotpo, each of them has two IDs:

* `external_id`: the store's own ID for the order, product, variant or collection, as it appears in the platform. It can't be changed once the entity exists in Yotpo.
* `yotpo_id`: the ID Yotpo assigns to the same entity when it's created.

Endpoints that work on a single entity, such as [Retrieve product by ID](https://docs.yotpo.com/reference/retrieve-product-by-id) or [Update product](https://docs.yotpo.com/reference/update-product), take the `yotpo_id` in the path. To get it from an `external_id`, call the list endpoint with the `external_ids` filter (up to 100 IDs, comma-separated and URL-encoded). The response includes each entity's `yotpo_id`.

## Example: update a product you created

1. Create the product with [Create product](https://docs.yotpo.com/reference/create-product), using your platform's product ID as `external_id`.
2. Call [Retrieve products](https://docs.yotpo.com/reference/retrieve-products) with `external_ids=YOUR_PRODUCT_ID` and read `yotpo_id` from the product in the response.
3. Update the product with [Update product](https://docs.yotpo.com/reference/update-product), passing that `yotpo_id` as `yotpo_product_id` in the path.

## Example: from a platform product ID to Yotpo data

1. Call [Retrieve products](https://docs.yotpo.com/reference/retrieve-products) with `external_ids=YOUR_PRODUCT_ID`.
2. Read `yotpo_id` from the product in the response.
3. Use it in the path of [Retrieve product by ID](https://docs.yotpo.com/reference/retrieve-product-by-id) or [Retrieve product variants](https://docs.yotpo.com/reference/retrieve-product-variants).

Orders work the same way: [Retrieve orders](https://docs.yotpo.com/reference/retrieve-orders) with `external_ids`, then [Retrieve order by ID](https://docs.yotpo.com/reference/retrieve-order-by-id) with the `yotpo_id`. App partners call these endpoints on `developers.yotpo.com`; each reference page shows the partner URL.

# Sibling pages

* [What you can build](https://docs.yotpo.com/docs/what-you-can-build.md)
* [How to use the Core API](https://docs.yotpo.com/docs/how-to-use.md)
* [Which API version do I use?](https://docs.yotpo.com/docs/which-api-version-do-i-use.md)
* [Guidelines & conventions](https://docs.yotpo.com/docs/guidelines-and-conventions.md)
* [App key vs. Store ID](https://docs.yotpo.com/docs/store-id-app-key.md)
* [Rate limiting](https://docs.yotpo.com/docs/rate-limiting.md)
* [Errors](https://docs.yotpo.com/docs/error-handling.md)
* [Testing your integration](https://docs.yotpo.com/docs/testing-your-integration.md)
* [Idempotency](https://docs.yotpo.com/docs/idempotency.md)
* [Working with custom properties](https://docs.yotpo.com/docs/working-with-custom-properties.md)
* [Connect to Yotpo's MCP Servers](https://docs.yotpo.com/docs/connect-to-yotpo-mcp.md)