Skip to main content

Create a variation

POST 

https://euwest.api.elasticpath.com/pcm/variations

Create a variation

Request

Responses

Returns a created variation with the following attributes.

Authorization: http

name: bearerAuthtype: httpscheme: bearer

Request Collapse all
Base URL
https://euwest.api.elasticpath.com
Auth
Body required
{
  "data": {
    "type": "product-variation",
    "attributes": {
      "name": "string",
      "sort_order": 0
    }
  }
}
ResponseClear

Click the Send API Request button above and see the response here!