Products/Variant-SKUs
post/api/variant-skus/

Request

  • Base URL
    https://api.retraced.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.retraced.com/api/variant-skus/
  • Auth
    none declared

Request body

variantIdstring required
forCompanyIdstring
namestring required
descriptionstring nullable
dimensionstring required
genderstring nullable
imagesFileIdsstring[] nullable
brandsstring[] nullable
departmentsstring[] nullable
seasonsstring[] nullable
collectionsstring[] nullable
customPropertiesstring[] nullable

Array of style property IDs of category 'customProperties'. Values must be created via POST /style-properties before use.

suppliersstring[] nullable
mainSupplierstring nullable
vendorsstring[] nullable
claimIntentionsstring[] nullable
isStoryActiveboolean
externalIdstring

Your own identifier for this product. Unique per company across all product levels. Can be used in place of the Retraced ID on any product ID field in this API. On update it is only written when the field is present in the body — omitting it keeps the stored value, sending null clears it.

Response

Default Response

Changes

    • breaking

      the request property type changed from string to array

    • breaking

      response property data/customProperties list-of-types was widened by adding types array and null to media type application/json of response 201

    • breaking

      added the new required request property /

    • breaking

      added the new required request property /

    • breaking

      removed subschema #1 subschema #2 from the request property anyOf list

    • breaking

      request property list-of-types was narrowed by removing types null from media type application/json

    • breaking

      request property list-of-types was narrowed by removing types null from media type application/json

    • breaking

      request property list-of-types was narrowed by removing types null from media type application/json

    • breaking

      request property list-of-types was narrowed by removing types null from media type application/json

    • breaking

      request property list-of-types was narrowed by removing types null from media type application/json

    • breaking

      request property list-of-types was narrowed by removing types null from media type application/json

    • breaking

      request property list-of-types was narrowed by removing types null from media type application/json

    • breaking

      request property list-of-types was narrowed by removing types null from media type application/json

    • breaking

      request property list-of-types was narrowed by removing types null from media type application/json

    • breaking

      request property list-of-types was narrowed by removing types null from media type application/json

    • breaking

      request property list-of-types was narrowed by removing types null from media type application/json

    • breaking

      request property list-of-types was narrowed by removing types null from media type application/json

    • breaking

      the request property's minLength was increased from 0 to 1

    • breaking

      the request property type changed from no type to object

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • warning

      the request property's maxLength was set to 4000

    • warning

      the request property's maxLength was set to 50

    • info

      the request property became nullable

    • info

      the request property became nullable

    • info

      the request property became nullable

    • info

      the request property became nullable

    • info

      the request property became nullable

    • info

      the request property became nullable

    • info

      the request property became nullable

    • info

      the request property became nullable

    • info

      the request property became nullable

    • info

      the request property became nullable

    • info

      the request property became nullable

    • info

      the request property became nullable

    • info

      the request property became nullable

    • info

      response property data/customProperties list-of-types was narrowed by removing types null from media type application/json of response 201

    • info

      response property data/externalId list-of-types was narrowed by removing types null from media type application/json of response 201

    • info

      response property data/featuredImage/anyOf[subschema #1]/contentType list-of-types was narrowed by removing types null from media type application/json of response 201

    • info

      response property data/featuredImage/anyOf[subschema #1]/fileType list-of-types was narrowed by removing types null from media type application/json of response 201

    • info

      response property data/featuredImage/anyOf[subschema #1]/previewUrl list-of-types was narrowed by removing types null from media type application/json of response 201

    • info

      response property data/featuredImage/anyOf[subschema #1]/url list-of-types was narrowed by removing types null from media type application/json of response 201

    • info

      response property data/images/items/contentType list-of-types was narrowed by removing types null from media type application/json of response 201

    • info

      response property data/images/items/fileType list-of-types was narrowed by removing types null from media type application/json of response 201

    • info

      response property data/images/items/previewUrl list-of-types was narrowed by removing types null from media type application/json of response 201

    • info

      response property data/images/items/url list-of-types was narrowed by removing types null from media type application/json of response 201

    • info

      response property data/qrCodeUrl list-of-types was narrowed by removing types null from media type application/json of response 201

    • info

      response property data/tracingStory/anyOf[subschema #1]/tracingName list-of-types was narrowed by removing types null from media type application/json of response 201