post https://api.shioja.com/orderProduct
Send back purchase details after a successful sale on your website or app.
The get delivery endpoint returns the amount it would cost to deliver an item.
The api checks for the location and retuns the delivery fee.
Parameters | Type | Description | Optional |
---|---|---|---|
productId | string | The productId of the product that is ordered. | required |
nameOfCustomer | string | The name of the customer that ordered the item. | required |
deliveryAddress | string | The address that your customer want the item purchased to be delivered to. | required |
deliveryState | string | The state the product will be delivered to is required | required |
deliveryLga | string | The local government area of delivery is required. | required |
deliveryArea | string | The area associated with the delivery local government area is required | required |
phoneNumber | string | The phone number of the customer son our delivery agents can call for delivery. This can be set to the company phone number for self pick up. | required |
selfDelivery | bool | To pick up the item from Shioja and self-deliver to the customer, set this as true. If you prefer to use Shioja to ship the item to your customer, set this as false. | optional |