curl --request POST \
--url https://api.sandbox.usenash.com/v1/products \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"products": [
{
"name": "Organic Bananas",
"imageUrls": [
"https://example.com/bananas1.jpg",
"https://example.com/bananas2.jpg"
],
"categories": [
"Produce",
"Fruits",
"Organic"
],
"weight": 0.5,
"dimensions": {
"depth": 8,
"height": 4,
"width": 12
},
"identifiers": [
{
"type": "UPC",
"value": "123456789012"
}
],
"externalIdentifier": "ext_001",
"sku": "ORG-BAN-001",
"description": "Fresh organic bananas, perfect for smoothies and baking",
"attributes": [
"WEIGHTED"
],
"details": {
"packSizeSpecification": {
"description": "10 units per pack",
"value": 10
},
"sizeSpecification": {
"description": "ea",
"value": 1
},
"weightedItemInfo": {
"weightPerItem": 0.12,
"weightUnit": "kg"
}
},
"providerConfigs": [
{
"categories": [
"Produce",
"Fruits",
"Organic"
],
"provider": "X",
"serviceType": "pick_and_deliver"
}
]
}
]
}
'[
{
"id": "<string>",
"name": "Organic Bananas",
"externalIdentifier": "ext_001",
"sku": "11111",
"description": "Fresh organic bananas, perfect for smoothies and baking",
"imageUrls": [
"https://example.com/bananas1.jpg",
"https://example.com/bananas2.jpg"
],
"categories": [
"Produce",
"Fruits",
"Organic"
],
"weight": 0.5,
"dimensions": {
"depth": 8,
"height": 4,
"width": 12
},
"identifiers": [
{
"type": "UPC",
"value": "123456789012"
}
],
"attributes": [
"WEIGHTED"
],
"details": {
"packSizeSpecification": {
"description": "10 units per pack",
"value": 10
},
"sizeSpecification": {
"description": "ea",
"value": 1
},
"weightedItemInfo": {
"weightPerItem": 0.12,
"weightUnit": "kg"
}
},
"providerConfigs": [
{
"categories": [
"Produce",
"Fruits",
"Organic"
],
"provider": "X",
"serviceType": "pick_and_deliver"
}
]
}
]curl --request POST \
--url https://api.sandbox.usenash.com/v1/products \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"products": [
{
"name": "Organic Bananas",
"imageUrls": [
"https://example.com/bananas1.jpg",
"https://example.com/bananas2.jpg"
],
"categories": [
"Produce",
"Fruits",
"Organic"
],
"weight": 0.5,
"dimensions": {
"depth": 8,
"height": 4,
"width": 12
},
"identifiers": [
{
"type": "UPC",
"value": "123456789012"
}
],
"externalIdentifier": "ext_001",
"sku": "ORG-BAN-001",
"description": "Fresh organic bananas, perfect for smoothies and baking",
"attributes": [
"WEIGHTED"
],
"details": {
"packSizeSpecification": {
"description": "10 units per pack",
"value": 10
},
"sizeSpecification": {
"description": "ea",
"value": 1
},
"weightedItemInfo": {
"weightPerItem": 0.12,
"weightUnit": "kg"
}
},
"providerConfigs": [
{
"categories": [
"Produce",
"Fruits",
"Organic"
],
"provider": "X",
"serviceType": "pick_and_deliver"
}
]
}
]
}
'[
{
"id": "<string>",
"name": "Organic Bananas",
"externalIdentifier": "ext_001",
"sku": "11111",
"description": "Fresh organic bananas, perfect for smoothies and baking",
"imageUrls": [
"https://example.com/bananas1.jpg",
"https://example.com/bananas2.jpg"
],
"categories": [
"Produce",
"Fruits",
"Organic"
],
"weight": 0.5,
"dimensions": {
"depth": 8,
"height": 4,
"width": 12
},
"identifiers": [
{
"type": "UPC",
"value": "123456789012"
}
],
"attributes": [
"WEIGHTED"
],
"details": {
"packSizeSpecification": {
"description": "10 units per pack",
"value": 10
},
"sizeSpecification": {
"description": "ea",
"value": 1
},
"weightedItemInfo": {
"weightPerItem": 0.12,
"weightUnit": "kg"
}
},
"providerConfigs": [
{
"categories": [
"Produce",
"Fruits",
"Organic"
],
"provider": "X",
"serviceType": "pick_and_deliver"
}
]
}
]Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
List of products to create
Show child attributes
The name of the product
"Organic Bananas"
List of image URLs for the product
[
"https://example.com/bananas1.jpg",
"https://example.com/bananas2.jpg"
]List of categories the product belongs to
["Produce", "Fruits", "Organic"]The weight of the product
0.5
Dimensions of the product
{ "depth": 8, "height": 4, "width": 12 }The external ID of the product from an external system
"ext_001"
The Stock Keeping Unit (SKU) for the product
"ORG-BAN-001"
The description of the product
"Fresh organic bananas, perfect for smoothies and baking"
List of attributes for the product
["WEIGHTED"]Additional product details including weight and size specifications
Show child attributes
{
"packSizeSpecification": {
"description": "10 units per pack",
"value": 10
},
"sizeSpecification": { "description": "ea", "value": 1 },
"weightedItemInfo": { "weightPerItem": 0.12, "weightUnit": "kg" }
}Provider-specific configurations for this product
Show child attributes
Provider name
"X"
Service type (e.g., pick_and_deliver, marketplace)
"pick_and_deliver"
Provider-specific categories for this product
["Produce", "Fruits", "Organic"]Whether this provider config is enabled
true
[
{
"categories": ["Produce", "Fruits", "Organic"],
"provider": "X",
"serviceType": "pick_and_deliver"
}
]OK
The name of the product
"Organic Bananas"
The external ID of the product from an external system
"ext_001"
The Stock Keeping Unit (SKU) for the product
"11111"
The description of the product
"Fresh organic bananas, perfect for smoothies and baking"
List of image URLs for the product
[
"https://example.com/bananas1.jpg",
"https://example.com/bananas2.jpg"
]List of categories the product belongs to
["Produce", "Fruits", "Organic"]The weight of the product
0.5
Dimensions of the product
{ "depth": 8, "height": 4, "width": 12 }List of attributes for the product
["WEIGHTED"]Additional product details including weight and size specifications
Show child attributes
{
"packSizeSpecification": {
"description": "10 units per pack",
"value": 10
},
"sizeSpecification": { "description": "ea", "value": 1 },
"weightedItemInfo": { "weightPerItem": 0.12, "weightUnit": "kg" }
}Provider-specific configurations for this product
Show child attributes
Provider name
"X"
Service type (e.g., pick_and_deliver, marketplace)
"pick_and_deliver"
Provider-specific categories for this product
["Produce", "Fruits", "Organic"]Whether this provider config is enabled
true
[
{
"categories": ["Produce", "Fruits", "Organic"],
"provider": "X",
"serviceType": "pick_and_deliver"
}
]