Skip to main content
POST
Create Product
Creates a variant-based v3 product. Send the product directly, not a sku envelope. Put try-on configuration, pricing, actionUrl and meta inside each variant; legacy root arEffect and meta are not accepted. The authenticated token determines the organization. The example creates a lipstick; replace illustrative product details before sending. Use category nail (singular) for nail-polish and nail-art.
Note
Use this endpoint when: onboarding new catalog items, before configuring AR Try-On assets, before publishing a product.

Request body

_idstring
Immutable product UUID, globally unique regardless of letter casing. Generated when omitted on create. Preserve the returned spelling for subsequent requests; merchant SKU IDs belong on variants.
categorystring
Use nail (singular) for nail-polish and nail-art; do not rename it to nails.
subCategorystring
Must belong to the selected category. Use nail/nail-polish or nail/nail-art for nails.
statusstring
PUBLISHED requires a usable try-on setup on every variant. DRAFT and UNPUBLISHED may be configured incrementally. Bulk upload accepts only DRAFT.
productNamestring
Required and non-empty unless this is an inactive DRAFT.
productImagestring
Product thumbnail URL. Required and non-empty unless this is an inactive DRAFT. Illustrative example URLs must be replaced with real assets.
brandstring
Required and non-empty unless this is an inactive DRAFT.
isActiveboolean
barcodestring
Optional product barcode. Each variant may also have its own barcode.
collectionIdsarray of string
additionalProductDetailsobject
variantAxesarray of object (item)
Empty for a single variant without options. Non-empty axes define the choices referenced by variantValues.
primaryVariantAxisIdstring
Must reference an axis id. Required when more than one axis is defined; otherwise omit or use null.
mediaarray of object (item)
Product gallery. Supply complete embedded file metadata or existing same-organization image/video fileRefId references.
variantsarray of object (item)
Ordered product variants with unique UUIDs. The first variant is initially selected; do not send a literal default ID. Merchant SKU IDs belong in variants[].skuId.
POST/skus
curl -X POST "https://api.glamar.fynd.com/service/platform/glamar/v3.0/skus" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer {apitoken}" \
-d '{"_id":"54d7bb83-a0bb-4aa4-8066-8752c96fb739","schemaVersion":3,"category":"makeup","subCategory":"lipstick","status":"PUBLISHED","productName":"Matte Red Lipstick","productImage":"https://cdn.example.com/lipstick.png","brand":"Example","version":"1.0.0","isActive":true,"barcode":"","collectionIds":[],"additionalProductDetails":{},"variantAxes":[],"primaryVariantAxisId":null,"media":[],"variants":[{"_id":"4fd0ab3d-47da-45c4-858d-f0fcce540d5a","skuId":"lipstick-red","variantValues":[],"pricing":{"price":19.99},"meta":{},"tryOn3D":{"styleID":"single","colors":[{"colorId":"red","color":"#B93445"}],"patterns":[{"_id":"matte","colorIntensity":70}]},"productId":"54d7bb83-a0bb-4aa4-8066-8752c96fb739"}]}'
Response
No example available.