Newer Version Available

This content describes an older version of this product. View Latest

Composite Product Input

Input representation of the composite product create request.
JSON example
1{
2  "productFields": {
3    "Name": "Sample Product",
4    "fieldName2": "fieldName",
5    "fieldName3": "fieldName"
6  },
7  "productPricing": {
8    "listPrice": 49.99,
9    "salePrice": 59.99,
10    "currencyIsoCode": "USD"
11  },
12  "categoryIds": [
13    "categoryId1",
14    "categoryId2"
15  ],
16  "productMedia": [
17    {
18      "mediaId": "mediaId1",
19      "developerName": "ProductListImage"
20    },
21    {
22      "mediaId": "mediaId2",
23      "developerName": "Attachment"
24    }
25  ]
26}
Properties
Name Type Description Required or Optional Available Version
categoryIds String[] A list of category IDs to be associated with the product. Optional 61.0
productFields Map<String, String> A map of product field names and their values. Required 61.0
productMedia Product Media Input[] A list of media records to be associated with the product. Optional 61.0
productPricing Product Pricing Input Details of the product pricing. Optional 61.0