{
    "info": {
        "_postman_id": "f2dc2f2d-4fab-4454-81f4-cbf69c700751",
        "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": ""
        }
    ],
    "event": [
        {
            "listen": "prerequest",
            "script": {
                "type": "text/javascript",
                "exec": [
                    ""
                ]
            }
        }
    ],
    "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": []
                }
            ]
        }
    ]
}