Skip to content

Commit

Permalink
- minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Cayke committed Apr 28, 2022
1 parent 887f49e commit 8c90550
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions source/admin.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,11 @@ Parameter | Type | Constraint | Description
-------------- | -------------- | -------------- | --------------
`internal_code` | string | required | Unique identifier for the product.
`name` | string | required | Product name.
`unit_type` | str | required | Product unit type. Possible types: [`UNI`, `KG`, `BOX`, `M2`, `M`, `L`].
`price` | float | required | Product regular price.
`visible` | bool | optional | If product should be visible/active in e-commerce.
`stock` | float | optional | Product stock.
`barcodes` | array - [string] | optional | List with barcodes. These codes must be EAN8, EAN12 or EAN13.
`visible` | bool | required | If product should be visible/active in e-commerce.
`stock` | float | required | Product stock.
`barcodes` | array - [string] | required | List with barcodes. These codes must be EAN8, EAN12 or EAN13. Pass an empty array is item dont have barcode.
`promo_price` | float | optional | Product promotional price.
`promo_start_at` | datetime | optional | Product promotional price start date. ISO format string.
`promo_end_at` | datetime | optional | Product promotional price end date. ISO format string.
Expand All @@ -150,7 +151,6 @@ Parameter | Type | Constraint | Description
`length` | float | optional | Product length in `cm`.
`width` | float | optional | Product width in `cm`.
`height` | float | optional | Product height in `cm`.
`unit_type` | str | optional | Product unit type. Possible types: [`UNI`, `KG`, `BOX`, `M2`, `M`, `L`].
`increment_value` | float | optional | Product increment value.
`subcategory_ids` | array - [string] | optional | List with Instabuy's subcategory ids. These ids must be from Instabuy's subcategory ID.
`force_subcategory` | bool | optional | If `true`, automatically sets product subcategory if possible.
Expand Down

0 comments on commit 8c90550

Please sign in to comment.