Options [API]
Options can be found under Product> Options in the admin section
Description | List available Options with their values |
Action | GET |
URL | <your URL here>/api/options |
Sample request parameters | id_eq=11 --> Search by option id name_eq=Size --> Search by option name Eg. <your URL here>/api/options.json?id_eq=1 |
Sample successful response | [ { "option": { "id": 1, "name": "Size", "code": "", "sort": null, "option_type": "select", "option_values": [ { "id": 1, "name": "Small", "code": "" }, { "id": 2, "name": "Medium", "code": "" }, { "id": 3, "name": "Large", "code": "" } ] ] |