Create Products
Changed onCreate Products in any supported Ecommerce software
Request
- Base URLhttps://api.panora.dev
- URLhttps://api.panora.dev/ecommerce/products
- AuthAPI key in header x-api-key
Query parameters
Set to true to include data from the original Accounting software.
Headers
The connection token
Request body
Example request
{
"product_url": "https://product_url/tee",
"product_type": "teeshirt",
"product_status": "ACTIVE",
"images_urls": [
"https://myproduct/image"
],
"description": "best tee ever",
"vendor": "vendor_extern",
"variants": [
{
"title": "teeshirt",
"price": 20,
"sku": "3",
"options": null,
"weight": 10,
"inventory_quantity": 100
}
],
"tags": [
"tag_1"
],
"field_mappings": {
"fav_dish": "broccoli",
"fav_color": "red"
}
}Response
Example response
{
"product_url": "https://product_url/tee",
"product_type": "teeshirt",
"product_status": "ACTIVE",
"images_urls": [
"https://myproduct/image"
],
"description": "best tee ever",
"vendor": "vendor_extern",
"variants": [
{
"title": "teeshirt",
"price": 20,
"sku": "3",
"options": null,
"weight": 10,
"inventory_quantity": 100
}
],
"tags": [
"tag_1"
],
"field_mappings": {
"fav_dish": "broccoli",
"fav_color": "red"
},
"id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f",
"remote_id": "id_1",
"remote_data": {
"fav_dish": "broccoli",
"fav_color": "red"
},
"created_at": "2024-10-01T12:00:00Z",
"modified_at": "2024-10-01T12:00:00Z"
}Changes
- breaking
removed the enum value
ACTIVEof the request property - breaking
removed the enum value
ARCHIVEDof the request property - breaking
removed the enum value
DRAFTof the request property - info
removed the
ACTIVEenum value from theresponse property for the response status - info
removed the
ARCHIVEDenum value from theresponse property for the response status - info
removed the
DRAFTenum value from theresponse property for the response status
- breaking
- breaking
request property
was restricted to a list of enum values - 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 - breaking
the response property
became nullable for the status - warning
added the new
ACTIVEenum value to theresponse property for the response status - warning
added the new
ARCHIVEDenum value to theresponse property for the response status - warning
added the new
DRAFTenum value to theresponse property for the response status - 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
added the new
ACTIVEenum value to the request property - info
added the new
ARCHIVEDenum value to the request property - info
added the new
DRAFTenum value to the request property
- breaking