Elastic Path Variations API
```mdx-code-blockimport VariationsOverview from '/docs/partials/pxm/variations/variationsoverview.mdx';import VariationsReusability from '/docs/partials/pxm/variations/variationsreusability.mdx';import ChildProducts from '/docs/partials/pxm/variations/childproducts.mdx';import BuildChildren from '/docs/partials/pxm/variations/buildchildproducts.mdx';import ProductModifiers from '/docs/partials/pxm/variations/productmodifiers.mdx';import PriceModifiers from "/docs/partials/pxm/variations/pricemodifiers.mdx";### Reusability### Child Products### Building Child Products### Sorting the Order of Variations and OptionsThe `variation_matrix` object lists the variation IDs and variation option IDs and their corresponding product IDs that are generated when the variation and variation options are built with a product. The `variation_matrix` can then be added to your catalogs.The order of the variations in the `variation_matrix` is the order of the variations in the array when the variations were linked to the product. For example, the first variation in the `variation_matrix` corresponds to the first variation in the array, and so on. You can use the `sort_order`attribute to sort the order of your variation and variation options in the `variation_matrix` object. The sort order value is visible when you add the variations and variation options to your catalogs. You can then use the `sort_order` value to program your storefront to display the variations and variation options in the order that you want.Add the `sort_order` attribute to the body of your request and specify a `sort_order` value. A `sort_order` value must be a number. You can specify any numbers that you want.- 1, 2, 3, or 100, 90, 80, and so on.- Zero or negative numbers.You can set `sort_order` to either `null` or omit it entirely from the request if you wish to remove an existing `sort_order` attribute.:::caution- Commerce does not sort variations and variation options. You must program your storefront to sort the variations and variation options in the order that you want.- You must rebuild your products for the sort order changes to take effect. See [**Build Child Products**](#build-child-products).:::### Product Modifiers### Price Modifiers```
Elastic Path Variations API is one of 100 APIs that Elastic Path publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
Tagged areas include Variations. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.
This API exposes 21 operations across 9 paths, and defines 31 schemas. It is described by OpenAPI 3.2.0, at version 26.0612.7739142.
Requests are made against 2 base URLs: https://euwest.api.elasticpath.com, https://useast.api.elasticpath.com.
Metadata
The identity and technical contract details declared by the specification.
Authentication & Security 1
Elastic Path Variations API declares
1 security scheme
for authenticating requests.
It accepts HTTP bearer tokens (bearerAuth).
By default, every request must be authenticated.
Paths & Operations 21
Across 9 paths, the API surfaces 21 operations — 4 DELETE, 8 GET, 5 POST, 4 PUT. Each is listed below with its method, path, parameters, and response codes.
mdx-code-block import VariationsOverview from '/docs/partials/pxm/variations/variationsoverview.mdx'; import VariationsReusability from '/docs/partials/pxm/variations/variationsre…
Schemas 31
The contract defines 31 schemas that model the data the API accepts and returns. The most detailed are elastic_path_file (9 properties), multi_links (5 properties), product_response (5 properties), job (4 properties). Each schema is shown below with its type and property counts.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from Elastic Path 12
Other APIs Elastic Path publishes across the network.
This is an independent, third-party profile of Elastic Path Variations API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.
The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.
Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.
info@apievangelist.com
·
Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and
you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.