Import Standard Products
Testing Env
https://www.testecommerce.vodoerp.com
Testing Env
https://www.testecommerce.vodoerp.com
POST
/api/v1/import_standard_products
Last modified:2025-05-19 07:19:27
Key | Value | Description | Type |
---|---|---|---|
apikey | 5f28583f26a1a | You must contact support to get the apikey. Required | string |
apiconnection | appmobile | You must contact support to get the apiconnection. Required | string |
secure-business-key | 140356399db2b2c32f0.25237063 | You must contact support to get the secure-business-key. Required | string |
lang | ar | ar => Arabic or en => English | string |
Key | Value | Description | Type |
---|---|---|---|
categoryIds | 4 | If you are going to import all category products | string |
Key | Value | Description | Type |
---|---|---|---|
type | Purchases | Service, Purchases, Raw material, Raw processing, Manufacturing, Ticket, Tour or Download Required | text |
status | 1 | 1 or 0 | text |
store_active | 1 | 1 or 0 | text |
store_active_from_date | 2024-08-21 | text | |
store_active_to_date | 2024-12-21 | text | |
supplier_chain | 1 | 1 or 0 | text |
main_unit_id | 3 | Required | text |
child_unit_id | 7 | Required | text |
child_unit_qty | 800 | Required | text |
id | 450 | If you are going to import one product | text |
import | all | all or one product Required | text |
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://www.testecommerce.vodoerp.com/api/v1/import_standard_products?categoryIds=4' \
--header 'apikey: 5f28583f26a1a' \
--header 'apiconnection: appmobile' \
--header 'secure-business-key: 140356399db2b2c32f0.25237063' \
--header 'Accept-Language: ar' \
--form 'type="1"' \
--form 'status="1"' \
--form 'store_active="1"' \
--form 'store_active_from_date="2024-08-21"' \
--form 'store_active_to_date="2024-12-21"' \
--form 'supplier_chain="1"' \
--form 'main_unit_id="3"' \
--form 'child_unit_id="7"' \
--form 'child_unit_qty="800"' \
--form 'id="450"' \
--form 'import="all"'
Response Response Example
{}
Request
Query Params
categoryIds
stringÂ
required
Example:
4
Header Params
apikey
stringÂ
required
Example:
5f28583f26a1a
apiconnection
stringÂ
required
Example:
appmobile
secure-business-key
stringÂ
required
728106399db2b289783.89154521
2680667168f2f8a68f6.12561200
140356399db2b2c32f0.25237063
96701678e330f31f768.22400604
14807664478836358b0.31329842
Example:
140356399db2b2c32f0.25237063
Accept-Language
stringÂ
required
Example:
ar
Body Params multipart/form-data
type
stringÂ
required
Example:
1
status
stringÂ
required
Example:
1
store_active
stringÂ
required
Example:
1
store_active_from_date
stringÂ
optional
Example:
2024-08-21
store_active_to_date
stringÂ
optional
Example:
2024-12-21
supplier_chain
stringÂ
required
Example:
1
main_unit_id
stringÂ
required
Example:
3
child_unit_id
stringÂ
required
Example:
7
child_unit_qty
stringÂ
required
Example:
800
id
stringÂ
required
Example:
450
import
stringÂ
required
Example:
all