Create Products
Create Products in any supported Ecommerce software
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
Changed in 3 of the 18 revisions of this API.17315
- ▲
removed the enum value
ACTIVEof the request propertyproduct_statusrequest-property-enum-value-removed
- ▲
removed the enum value
ARCHIVEDof the request propertyproduct_statusrequest-property-enum-value-removed
- ▲
removed the enum value
DRAFTof the request propertyproduct_statusrequest-property-enum-value-removed
- ○
removed the
ACTIVEenum value from theproduct_statusresponse property for the response status201response-property-enum-value-removed
- ○
removed the
ARCHIVEDenum value from theproduct_statusresponse property for the response status201response-property-enum-value-removed
- ○
removed the
DRAFTenum value from theproduct_statusresponse property for the response status201response-property-enum-value-removed
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
request property
product_statuswas restricted to a list of enum valuesrequest-property-became-enum
- ▲
the response property
created_atbecame nullable for the status201response-property-became-nullable
- ▲
the response property
descriptionbecame nullable for the status201response-property-became-nullable
- ▲
the response property
field_mappingsbecame nullable for the status201response-property-became-nullable
- ▲
the response property
idbecame nullable for the status201response-property-became-nullable
- ▲
the response property
images_urlsbecame nullable for the status201response-property-became-nullable
- ▲
the response property
modified_atbecame nullable for the status201response-property-became-nullable
- ▲
the response property
product_statusbecame nullable for the status201response-property-became-nullable
- ▲
the response property
product_typebecame nullable for the status201response-property-became-nullable
- ▲
the response property
product_urlbecame nullable for the status201response-property-became-nullable
- ▲
the response property
remote_databecame nullable for the status201response-property-became-nullable
- ▲
the response property
remote_idbecame nullable for the status201response-property-became-nullable
- ▲
the response property
tagsbecame nullable for the status201response-property-became-nullable
- ▲
the response property
vendorbecame nullable for the status201response-property-became-nullable
- ●
added the new
ACTIVEenum value to theproduct_statusresponse property for the response status201response-property-enum-value-added
- ●
added the new
ARCHIVEDenum value to theproduct_statusresponse property for the response status201response-property-enum-value-added
- ●
added the new
DRAFTenum value to theproduct_statusresponse property for the response status201response-property-enum-value-added
- ○
the request property
descriptionbecame nullablerequest-property-became-nullable
- ○
the request property
field_mappingsbecame nullablerequest-property-became-nullable
- ○
the request property
images_urlsbecame nullablerequest-property-became-nullable
- ○
the request property
product_statusbecame nullablerequest-property-became-nullable
- ○
the request property
product_typebecame nullablerequest-property-became-nullable
- ○
the request property
product_urlbecame nullablerequest-property-became-nullable
- ○
the request property
tagsbecame nullablerequest-property-became-nullable
- ○
the request property
vendorbecame nullablerequest-property-became-nullable
- ○
added the new
ACTIVEenum value to the request propertyproduct_statusrequest-property-enum-value-added
- ○
added the new
ARCHIVEDenum value to the request propertyproduct_statusrequest-property-enum-value-added
- ○
added the new
DRAFTenum value to the request propertyproduct_statusrequest-property-enum-value-added
- ▲
- ○
endpoint added
endpoint-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○