{
    "info": {
        "_postman_id": "ba0a456a-f0ab-490a-831d-c85060a39454",
        "name": "Projet",
        "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
    },
    "variable": [
        {
            "key": "local",
            "value": "https://projet.marketplaceallinone.com/public/api/v1"
        },
        {
            "key": "token",
            "value": ""
        }
    ],
    "item": [
        {
            "name": "commandes",
            "item": [
                {
                    "name": "get all commandes",
                    "protocolProfileBehavior": {
                        "disableBodyPruning": true
                    },
                    "request": {
                        "auth": {
                            "type": "bearer",
                            "bearer": [
                                {
                                    "key": "token",
                                    "value": "{{token}}",
                                    "type": "string"
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "body": {
                            "mode": "formdata",
                            "formdata": [
                                {
                                    "key": "lang",
                                    "description": "For Return Language Message default Arabic",
                                    "type": "text",
                                    "value": "ar"
                                }
                            ]
                        },
                        "url": {
                            "raw": "{{local}}/commandes",
                            "host": [
                                "{{local}}"
                            ],
                            "path": [
                                "commandes"
                            ]
                        },
                        "description": "test description"
                    },
                    "response": []
                },
                {
                    "name": "show by id commandes",
                    "protocolProfileBehavior": {
                        "disableBodyPruning": true
                    },
                    "request": {
                        "auth": {
                            "type": "bearer",
                            "bearer": [
                                {
                                    "key": "token",
                                    "value": "{{token}}",
                                    "type": "string"
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "body": {
                            "mode": "formdata",
                            "formdata": [
                                {
                                    "key": "lang",
                                    "description": "For Return Language Message default Arabic",
                                    "type": "text",
                                    "value": "ar"
                                }
                            ]
                        },
                        "url": {
                            "raw": "{{local}}/commandes/{PUT_YOUR_ID}",
                            "host": [
                                "{{local}}"
                            ],
                            "path": [
                                "commandes",
                                "{PUT_YOUR_ID}"
                            ]
                        },
                        "description": "test description"
                    },
                    "response": []
                },
                {
                    "name": "Add Record commandes",
                    "protocolProfileBehavior": {
                        "disableBodyPruning": true
                    },
                    "request": {
                        "auth": {
                            "type": "bearer",
                            "bearer": [
                                {
                                    "key": "token",
                                    "value": "{{token}}",
                                    "type": "string"
                                }
                            ]
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "body": {
                            "mode": "formdata",
                            "formdata": [
                                {
                                    "key": "lang",
                                    "description": "For Return Language Message default Arabic",
                                    "type": "text",
                                    "value": "ar"
                                },
                                {
                                    "key": "commande_number",
                                    "value": "some string",
                                    "type": "text",
                                    "description": "normal input text"
                                },
                                {
                                    "key": "article",
                                    "value": "some string",
                                    "type": "text",
                                    "description": "normal input text"
                                },
                                {
                                    "key": "date_livraison",
                                    "value": "some string",
                                    "type": "text",
                                    "description": "normal input text"
                                },
                                {
                                    "key": "prix",
                                    "value": "some string",
                                    "type": "text",
                                    "description": "normal input text"
                                },
                                {
                                    "key": "quantite",
                                    "value": "some string",
                                    "type": "text",
                                    "description": "normal input text"
                                },
                                {
                                    "key": "acheter",
                                    "value": "1",
                                    "type": "text",
                                    "description": "Dropdown data (1,0)"
                                },
                                {
                                    "key": "recu",
                                    "value": "1",
                                    "type": "text",
                                    "description": "Dropdown data (1,0)"
                                },
                                {
                                    "key": "suivi",
                                    "value": "some string",
                                    "type": "text",
                                    "description": "normal input text"
                                }
                            ]
                        },
                        "url": {
                            "raw": "{{local}}/commandes",
                            "host": [
                                "{{local}}"
                            ],
                            "path": [
                                "commandes"
                            ]
                        },
                        "description": "test description"
                    },
                    "response": []
                },
                {
                    "name": "Update Record By ID commandes",
                    "protocolProfileBehavior": {
                        "disableBodyPruning": true
                    },
                    "request": {
                        "auth": {
                            "type": "bearer",
                            "bearer": [
                                {
                                    "key": "token",
                                    "value": "{{token}}",
                                    "type": "string"
                                }
                            ]
                        },
                        "method": "PUT",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "body": {
                            "mode": "formdata",
                            "formdata": [
                                {
                                    "key": "lang",
                                    "description": "For Return Language Message default Arabic",
                                    "type": "text",
                                    "value": "ar"
                                },
                                {
                                    "key": "commande_number",
                                    "value": "some string",
                                    "type": "text",
                                    "description": "normal input text"
                                },
                                {
                                    "key": "article",
                                    "value": "some string",
                                    "type": "text",
                                    "description": "normal input text"
                                },
                                {
                                    "key": "date_livraison",
                                    "value": "some string",
                                    "type": "text",
                                    "description": "normal input text"
                                },
                                {
                                    "key": "prix",
                                    "value": "some string",
                                    "type": "text",
                                    "description": "normal input text"
                                },
                                {
                                    "key": "quantite",
                                    "value": "some string",
                                    "type": "text",
                                    "description": "normal input text"
                                },
                                {
                                    "key": "acheter",
                                    "value": "1",
                                    "type": "text",
                                    "description": "Dropdown data (1,0)"
                                },
                                {
                                    "key": "recu",
                                    "value": "1",
                                    "type": "text",
                                    "description": "Dropdown data (1,0)"
                                },
                                {
                                    "key": "suivi",
                                    "value": "some string",
                                    "type": "text",
                                    "description": "normal input text"
                                }
                            ]
                        },
                        "url": {
                            "raw": "{{local}}/commandes/{PUT_YOUR_ID}",
                            "host": [
                                "{{local}}"
                            ],
                            "path": [
                                "commandes",
                                "{PUT_YOUR_ID}"
                            ]
                        },
                        "description": "test description"
                    },
                    "response": []
                },
                {
                    "name": "DELETE Record By ID commandes",
                    "protocolProfileBehavior": {
                        "disableBodyPruning": true
                    },
                    "request": {
                        "auth": {
                            "type": "bearer",
                            "bearer": [
                                {
                                    "key": "token",
                                    "value": "{{token}}",
                                    "type": "string"
                                }
                            ]
                        },
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "body": {
                            "mode": "formdata",
                            "formdata": [
                                {
                                    "key": "lang",
                                    "description": "For Return Language Message default Arabic",
                                    "type": "text",
                                    "value": "ar"
                                }
                            ]
                        },
                        "url": {
                            "raw": "{{local}}/commandes/{PUT_YOUR_ID}",
                            "host": [
                                "{{local}}"
                            ],
                            "path": [
                                "commandes",
                                "{PUT_YOUR_ID}"
                            ]
                        },
                        "description": "test description"
                    },
                    "response": []
                },
                {
                    "name": "Multi Delete Record By IDs commandes",
                    "protocolProfileBehavior": {
                        "disableBodyPruning": true
                    },
                    "request": {
                        "auth": {
                            "type": "bearer",
                            "bearer": [
                                {
                                    "key": "token",
                                    "value": "{{token}}",
                                    "type": "string"
                                }
                            ]
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "body": {
                            "mode": "formdata",
                            "formdata": [
                                {
                                    "key": "lang",
                                    "description": "For Return Language Message default Arabic",
                                    "type": "text",
                                    "value": "ar"
                                },
                                {
                                    "key": "selected_data[]",
                                    "value": "1",
                                    "type": "text",
                                    "description": "Record ID Integer"
                                },
                                {
                                    "key": "selected_data[]",
                                    "value": "2",
                                    "type": "text",
                                    "description": "Record ID Integer"
                                }
                            ]
                        },
                        "url": {
                            "raw": "{{local}}/commandes/multi_delete",
                            "host": [
                                "{{local}}"
                            ],
                            "path": [
                                "commandes",
                                "multi_delete"
                            ]
                        },
                        "description": "test description"
                    },
                    "response": []
                }
            ]
        },
        {
            "name": "Login & Register & reset",
            "item": [
                {
                    "name": "login",
                    "protocolProfileBehavior": {
                        "disabledSystemHeaders": {}
                    },
                    "request": {
                        "auth": {
                            "type": "noauth"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "body": {
                            "mode": "formdata",
                            "formdata": [
                                {
                                    "key": "email",
                                    "value": "test@test.com",
                                    "type": "text"
                                },
                                {
                                    "key": "password",
                                    "value": "!2M33412a",
                                    "type": "text"
                                }
                            ]
                        },
                        "url": {
                            "raw": "{{local}}/login",
                            "host": [
                                "{{local}}"
                            ],
                            "path": [
                                "login"
                            ]
                        }
                    },
                    "response": []
                },
                {
                    "name": "logout",
                    "protocolProfileBehavior": {
                        "disabledSystemHeaders": {}
                    },
                    "request": {
                        "auth": {
                            "type": "bearer",
                            "bearer": [
                                {
                                    "key": "token",
                                    "value": "{{token}}",
                                    "type": "string"
                                }
                            ]
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "body": {
                            "mode": "formdata",
                            "formdata": [
                                {
                                    "key": "lang",
                                    "value": "ar",
                                    "type": "text"
                                }
                            ]
                        },
                        "url": {
                            "raw": "{{local}}/logout",
                            "host": [
                                "{{local}}"
                            ],
                            "path": [
                                "logout"
                            ]
                        }
                    },
                    "response": []
                },
                {
                    "name": "my account - me",
                    "protocolProfileBehavior": {
                        "disabledSystemHeaders": {}
                    },
                    "request": {
                        "auth": {
                            "type": "bearer",
                            "bearer": [
                                {
                                    "key": "token",
                                    "value": "{{token}}",
                                    "type": "string"
                                }
                            ]
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "body": {
                            "mode": "formdata",
                            "formdata": [
                                {
                                    "key": "lang",
                                    "value": "ar",
                                    "type": "text"
                                }
                            ]
                        },
                        "url": {
                            "raw": "{{local}}/me",
                            "host": [
                                "{{local}}"
                            ],
                            "path": [
                                "me"
                            ]
                        }
                    },
                    "response": []
                },
                {
                    "name": "refresh",
                    "protocolProfileBehavior": {
                        "disabledSystemHeaders": {}
                    },
                    "request": {
                        "auth": {
                            "type": "bearer",
                            "bearer": [
                                {
                                    "key": "token",
                                    "value": "{{token}}",
                                    "type": "string"
                                }
                            ]
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "body": {
                            "mode": "formdata",
                            "formdata": [
                                {
                                    "key": "lang",
                                    "value": "ar",
                                    "type": "text"
                                }
                            ]
                        },
                        "url": {
                            "raw": "{{local}}/refresh",
                            "host": [
                                "{{local}}"
                            ],
                            "path": [
                                "refresh"
                            ]
                        }
                    },
                    "response": []
                },
                {
                    "name": "change password",
                    "protocolProfileBehavior": {
                        "disabledSystemHeaders": {}
                    },
                    "request": {
                        "auth": {
                            "type": "bearer",
                            "bearer": [
                                {
                                    "key": "token",
                                    "value": "{{token}}",
                                    "type": "string"
                                }
                            ]
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "body": {
                            "mode": "formdata",
                            "formdata": [
                                {
                                    "key": "current_password",
                                    "value": "!2M33412a",
                                    "type": "text"
                                },
                                {
                                    "key": "new_password",
                                    "value": "Aswe!2",
                                    "type": "text"
                                },
                                {
                                    "key": "password_confirmation",
                                    "value": "Aswe!2",
                                    "type": "text"
                                }
                            ]
                        },
                        "url": {
                            "raw": "{{local}}/change/password",
                            "host": [
                                "{{local}}"
                            ],
                            "path": [
                                "change",
                                "password"
                            ]
                        }
                    },
                    "response": []
                },
                {
                    "name": "register",
                    "protocolProfileBehavior": {
                        "disabledSystemHeaders": {}
                    },
                    "request": {
                        "auth": {
                            "type": "noauth"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "body": {
                            "mode": "formdata",
                            "formdata": [
                                {
                                    "key": "name",
                                    "value": "test",
                                    "type": "text"
                                },
                                {
                                    "key": "email",
                                    "value": "test@test.com",
                                    "type": "text"
                                },
                                {
                                    "key": "password",
                                    "value": "!2M33412a",
                                    "type": "text"
                                },
                                {
                                    "key": "lang",
                                    "value": "ar",
                                    "type": "text"
                                }
                            ]
                        },
                        "url": {
                            "raw": "{{local}}/register",
                            "host": [
                                "{{local}}"
                            ],
                            "path": [
                                "register"
                            ]
                        }
                    },
                    "response": []
                }
            ]
        }
    ],
    "event": [
        {
            "listen": "prerequest",
            "script": {
                "type": "text/javascript",
                "exec": [
                    ""
                ]
            }
        }
    ]
}