{ "opencollection": "1.0.0", "info": { "name": "MTN Shopping Cart Management API", "version": "1.0.0" }, "items": [ { "info": { "name": "shoppingCart", "type": "folder" }, "items": [ { "info": { "name": "This API will return the cart session cookie, to be used for all subsequent requests.", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/shoppingCart", "headers": [ { "name": "transactionId", "value": "" }, { "name": "customerType", "value": "" } ] }, "docs": "This operation creates a ShoppingCart entity. The session cookie created is unique per shopping cart and will identify each shopping cart" }, { "info": { "name": "Retrieves a ShoppingCart Information by ID", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/shoppingCart/:id", "headers": [ { "name": "transactionId", "value": "" }, { "name": "customerType", "value": "" }, { "name": "cookie", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path", "description": "Identifier of the ShoppingCart" }, { "name": "callingSystem", "value": "", "type": "query", "description": "This is an identifer for the calling system. eg. MTN App, Online Recharges, No Funds, NGMTNApp" } ] }, "docs": "This operation retrieves a ShoppingCart entity." }, { "info": { "name": "Creates a ShoppingCart order", "type": "http" }, "http": { "method": "PATCH", "url": "{{baseUrl}}/shoppingCart/:id/order", "headers": [ { "name": "transactionId", "value": "" }, { "name": "customerType", "value": "" }, { "name": "cookie", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path", "description": "This parameter indicates which site the response must be given. eg. MTNSite, OnlineStore, EBU_CC, EBU_SME, NGMTNApp" } ] }, "docs": "This operation creates a ShoppingCart Order." }, { "info": { "name": "Updates partially a ShoppingCart user's information", "type": "http" }, "http": { "method": "PATCH", "url": "{{baseUrl}}/shoppingCart/:id/userInfo", "headers": [ { "name": "transactionId", "value": "" }, { "name": "customerType", "value": "" }, { "name": "cookie", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path", "description": "This parameter indicates which site the response must be given. eg. MTNSite, OnlineStore, EBU_CC, EBU_SME, NGMTNApp" } ] }, "docs": "This operation updates partially a ShoppingCart user's information." }, { "info": { "name": "Updates partially a ShoppingCart's shipping information", "type": "http" }, "http": { "method": "PATCH", "url": "{{baseUrl}}/shoppingCart/:id/shippingInfo", "headers": [ { "name": "transactionId", "value": "" }, { "name": "customerType", "value": "" }, { "name": "cookie", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path", "description": "This parameter indicates which site the response must be given. eg. MTNSite, OnlineStore, EBU_CC, EBU_SME, NGMTNApp" } ] }, "docs": "This operation updates partially a ShoppingCart shipping information." }, { "info": { "name": "Updates an order for submission", "type": "http" }, "http": { "method": "PATCH", "url": "{{baseUrl}}/shoppingCart/:id/submitOrder", "headers": [ { "name": "transactionId", "value": "" }, { "name": "customerType", "value": "" }, { "name": "cookie", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path", "description": "This parameter indicates which site the response must be given. eg. MTNSite, OnlineStore, EBU_CC, EBU_SME, NGMTNApp" } ] }, "docs": "This operation submits the order items to be processed." } ] } ], "bundled": true }