v1

latestSwagger 2.02026-07-13107214235.7 KB
Spec

Create a Spec

Create a Spec

post/v1/workgroups/{workgroup_id}/projects/{project_id}/specs

Path parameters

workgroup_idstring required
project_idstring required

Request body

jsonBodyboolean
product_type_idinteger
quantity_1integer
quantity_2integer
quantity_3integer
quantity_4integer
quantity_5integer
skustring
spec_namestring
spec_template_idinteger
spec_type_idinteger

Example request

{
  "sku": "sample sku",
  "spec_name": "sample spec_name",
  "versions": [
    {
      "description": "sample description"
    }
  ]
}

Response

Successful created

spec_idinteger
status_codeinteger
status_reasonstring

Example response

{
  "status_reason": "sample status_reason"
}