This is the official API for Amour
Zasób | Opis |
---|---|
GET /api/images | Respond with images by type |
Zasób | Opis |
---|---|
GET /api/img_products | Returns 5 Images found by marka or linia |
Zasób | Opis |
---|---|
POST /api/mailers/contact_email | Send contact form email |
POST /api/mailers/newsletter | Send Newsletter welcome email |
Zasób | Opis |
---|---|
POST /api/orders | Create an order |
POST /api/orders/confirm | Update confirmation status |
GET /api/orders | Orders history for user |
Zasób | Opis |
---|---|
GET /api/products | All products |
GET /api/products/collagen | Collagen |
GET /api/products/menu | Menu |
GET /api/products/slider_products | Products assigned to slider |
GET /api/products/promo_products | Products assigned to promo |
GET /api/products/search_autocomplete | List of distinct product names (for autocomplete in search) |
GET /api/products/search_results | Resaults of search |
GET /api/products/:id | Return products with requested id |
Zasób | Opis |
---|---|
POST /api/sessions/login | Login as partners customer |
Zasób | Opis |
---|---|
POST /api/users | Create an user |
POST /api/users/send_reset_password_instructions | Send mail with reset password instructions |
POST /api/users/send_confirmation_instructions | Send mail with confimration instructions |
POST /api/users/reset_password | Reset password |
POST /api/users/confirm | Confirm User |