Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Product
- ## Get all products
- ### URL
- ```
- [GET] api/products
- ```
- ### Paremeters
- | Name | Type | Description |
- |--------|:--------:|:---------------------------|
- | | | |
- ### Response
- ```headers
- Status: 200 OK
- Link: api/products
- ```
- ```json
- {
- "data": [
- ...muchosProductos, {
- "id": 123,
- "name": "mandil de colegio",
- "price": 15.00,
- "image_url": "url_de_la_imagen.jpg",
- "link": "url_del_producto",
- "line_id": 1,
- "sub_line_id": 12
- }
- ]
- }
- ```
- Props
- | Name | Type | Description |
- |--------|:--------:|:---------------------------|
- | id | number | id del producto |
- | line_id | number | id de la linea |
- | sub_line_id | number | id de la subcategoria de la linea |
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement