Bring This Food
  1. store-cart
Bring This Food
  • https
    • _readme
    • v1
      • alerts
        • get alerts - customer | rider
        • get alerts - store
        • mark alerts read - customer | rider
        • mark alerts read - store
      • auth
        • reset password
        • sign-up
        • sign-in
        • sign-out
        • refresh tokens
      • chat
        • send message to user
        • send message to store
        • send message to chat
        • get messages
        • update messages
        • get chat
      • chats
        • get chats
      • existence
        • telephone existence
      • finance
        • get nigerian banks
        • resolve account number
        • initiate one-time payment
      • invite-code
        • request for invite code
      • order
        • get order
        • cancel order - customer
        • update delivery - customer
        • reject or cancel order - store | rider
        • accept order - store | rider
        • update status - store | rider
        • notify riders - store
        • unnotify riders - store
      • orders
        • get all orders - customer
        • get all orders - rider
        • get all orders - store
        • get orders by status - customer
        • get orders by status - rider
        • get orders by status - store
        • get orders metadata - store
      • order-complaint
        • complain on an order
        • delete order complaint
      • order-complaints
        • get complaints - store
      • otp
        • send otp
        • verify otp
      • pagination
        • first request
        • next request
      • request
        • revoke request - store
        • update request - store
        • accept request - store
        • reject request - store
      • requests
        • get all requests - store
        • get assistant requests - store
        • get rider requests - store
      • resources
        • get faqs
        • get faqs by types
        • get ile-ife streets
      • slug
        • get store by slug
        • get order by slug
      • store
        • get store
        • delete store
        • update store
        • block a store
        • unblock a store
        • love a store
        • unlove a store
        • send request - assistant | rider
        • post review
        • update review
        • delete review
        • get reviews - all
        • get reviews - by rating
        • get reviews metadata
      • store-analytics
        • get store analytics
      • store-cart
        • get store cart
          GET
        • update store cart
          PUT
        • cart checkout
          POST
        • clear cart
          DELETE
      • store-menu
        • add category
        • update category
        • delete category
        • get categories
        • add item - combo
        • add item - other(categorised item)
        • update item
        • delete item
        • get items - all
        • get items - combo
        • get items - other (non-combo)
        • get items - categorised
      • stores
        • get stores
        • get featured stores
        • get food recommendations
      • support
        • get open ticket
        • create ticket
        • send message
        • get messages
      • time
        • timezone offset
      • transaction
        • get transaction
      • transactions
        • get store transactions
        • get customer transactions
        • get assistant transactions
        • get rider transactions
      • upload
        • read-me for signed upload url
        • get signed upload url(s)
        • upload file
      • user
        • get user
        • update user
        • update password
        • confirm role category - independent
        • confirm role category - platform
        • confirm role category - vendor
        • post review
        • update review
        • delete review
        • get reviews metadata
        • get reviews - all
        • get reviews - by rating
        • get customer carts
      • user-account
        • get - account
        • delete - account
        • create store
      • wallet
        • get wallet - store
        • get wallet - customer | rider
        • update pin - store
        • update pin - customer | rider
        • get withdrawal fee - store
        • get withdrawal fee - rider
        • withdraw funds - store
        • withdraw funds - rider
  • wss
    • _readme
    • auth
      • handshake
    • alert
      • alert.new
      • alert.update
    • chat
      • chat.get
      • chat.message.new
      • chat.message.post
      • chat.messages.get
      • chat.messages.update
      • chats.get
    • order
      • order.new
      • order.update
      • order.complaint.new
      • rider.order.assignment.time.ended
      • rider.orders.addition.time.ended
    • ping
      • ping server
    • request
      • request.new
      • request.update
    • support
      • support.ticket.open.get
      • support.ticket.message.new
      • support.ticket.message.post
      • support.ticket.messages.get
    • transaction
      • transaction.new
      • transaction.update
  • Schemas
    • v1
      • alert
        • alertType
        • alertSubject
        • basicAlert
        • alert
      • chat
        • basicChatMessage
        • chatMessage
        • reqCreateChatMessageBody
        • basicChat
        • chat
        • messageDeliveryStatus
        • updateMessagesMap
        • basicMessagesMap
        • basicMessageSender
      • entity
        • entityType
        • basicEntity
        • typedEntity
      • faq
        • faqTextBlockProps
        • faq
        • faqTextBlockInnerProps
      • file
        • uploadedFile
      • finance
        • userBank
        • userBankWithId
        • paymentMethod
        • paymentBeneficiary
      • get-request
        • paginationProps
      • order
        • basicUserOrder
        • extendedUserOrder
        • userOrder
        • customerOrderStatus
        • riderOrderStatus
        • storeOrderStatus
        • orderTimeline
        • orderTracking
        • ordersMetadata
        • ordersMetadataStatusProps
        • orderRider
        • extendedOrderCustomer
        • orderCustomer
        • orderPaymentStatus
        • orderPayment
        • orderStore
      • order-complaint
        • basicOrderComplaint
        • orderComplaint
      • otp
        • otp
      • platform
        • platformClientType
      • price
        • priceProps
      • responses
        • 200 - success
        • 208 - already done
        • 400 - bad request
        • 401 - unauthorised
        • 403 - forbidden
        • 404 - not found
        • 409 - conflict
        • 410 - gone
        • 500 - server error
      • review
        • reviewRating
        • reviewRatingProps
        • reviewsSummary
        • reviewsMetadata
      • status
        • executionStatus
      • store
        • basicUserStore
        • extendedUserStore
        • userStore
        • basicStoreViewer
        • extendedStoreViewer
        • userStoreMenu
        • userStoreRequest
        • userStorePermission
        • basicUserStoreReview
        • storeCartItem
        • storeCartItemGroup
        • userBasicStoreCart
        • userExtendedStoreCart
        • userStoreCart
        • storeCartSummaryItemProps
        • cartSummary
        • storeAnalytics
        • userStoreCategory
      • store-menu
        • storeMenuCategory
        • storeMenuComboItem
        • storeMenuCategorisedItem
      • support
        • basicSupportMessage
        • supportTicketStatus
        • supportMessage
        • supportTicket
        • reqCreateSupportTicketMessageBody
      • time
        • iso24HrTime
        • weeklyAvailability
        • timeRangeProps
        • timezoneOffset
        • isoDateTime
        • dateTimeRangeProps
      • transaction
        • basicTransaction
        • extendedTransaction
        • transaction
        • customerTransactionCategory
        • riderTransactionCategory
        • storeTransactionCategory
        • assistantTransactionCategory
        • transactionSummary
        • transactionPayment
        • paymentStatus
      • user
        • basicUser
        • extendedUser
        • user
        • location
        • userTelephone
        • userTokens
        • userRole
        • userPassword
        • verificationStatus
        • basicUserReview
        • deliveryProps
        • userAccount
        • currentRiderOrdersMapItemProps
      • wallet
        • userWallet
      • websocket
        • wsResponseType
        • wsRequestAction
  1. store-cart

cart checkout

dev-v1
https://test-api.bringthisfood.com/v1
dev-v1
https://test-api.bringthisfood.com/v1
POST
https://test-api.bringthisfood.com/v1
/store/{storeId}/cart/checkout
checkout on your current cart in a store;

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params

Header Params

Body Params application/json

Examples

Responses

🟢200Success
application/json
Body

🟠400400 - bad request
🟠404404 - not found
🟠401401 - unauthorised
🟠403403 - forbidden
🟠409409 - conflict
🟠410410 - gone
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://test-api.bringthisfood.com/v1/store//cart/checkout' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "delivery": {
        "location": {
            "city": "Ile - Ife (Off Campus)",
            "street": "Parakin",
            "description": "Beside AP filling station, KM 4, Ede Road"
        },
        "telephone": "+2349012345678",
        "message": "string"
    },
    "payment": {
        "method": "single-transfer"
    }
}'
Response Response Example
200 - Example 1
{
    "success": true,
    "statusCode": 200,
    "data": {
        "order": {
            "id": "string",
            "slug": "string",
            "type": "combo",
            "status": "ongoing",
            "payment": {
                "method": "single-transfer",
                "bank": {
                    "code": "string",
                    "name": "string",
                    "account": {
                        "name": "string",
                        "number": "string"
                    },
                    "id": "string"
                },
                "status": "pending"
            },
            "dateCreated": "2025-10-08T15:30:00.451Z",
            "store": {
                "id": "string",
                "slug": "string",
                "name": "string",
                "telephone": "+2349012345678",
                "category": "food",
                "picture": {
                    "mimeType": "string",
                    "url": "string"
                },
                "locations": [
                    {
                        "city": "Ile - Ife (Off Campus)",
                        "street": "Parakin",
                        "description": "Beside AP filling station, KM 4, Ede Road",
                        "coordinates": {
                            "latitude": 0,
                            "longitude": 0
                        }
                    }
                ],
                "review": {
                    "totalRaters": 0,
                    "rating": 0
                },
                "delivery": {
                    "price": {
                        "min": {
                            "currency": "ngn",
                            "amount": 0
                        }
                    },
                    "time": {
                        "min": 0,
                        "max": 0
                    }
                },
                "items": {
                    "averagePrice": {
                        "currency": "ngn",
                        "amount": 0
                    }
                },
                "active": true,
                "open": true,
                "orders": {
                    "unassigned": {
                        "total": 0
                    }
                },
                "web": {
                    "link": "string"
                },
                "viewer": {
                    "reacted": true,
                    "reaction": "love"
                },
                "manuallyCompleted": true
            },
            "storeAccepted": true,
            "customer": {
                "id": "string",
                "active": true,
                "locations": [
                    {
                        "city": "Ile - Ife (Off Campus)",
                        "street": "Parakin",
                        "description": "Beside AP filling station, KM 4, Ede Road",
                        "coordinates": {
                            "latitude": 0,
                            "longitude": 0
                        }
                    }
                ],
                "name": "string",
                "role": {
                    "main": "rider",
                    "category": "platform",
                    "status": "pending"
                },
                "telephone": "+2349012345678",
                "verified": true,
                "picture": {
                    "mimeType": "string",
                    "url": "string"
                },
                "review": {
                    "totalRaters": 0,
                    "rating": 0
                },
                "canCancelOrder": true,
                "viewer": {
                    "chat": {
                        "id": "string",
                        "totalUnreadMessages": 0
                    }
                }
            },
            "rider": {
                "id": "string",
                "active": true,
                "locations": [
                    {
                        "city": "Ile - Ife (Off Campus)",
                        "street": "Parakin",
                        "description": "Beside AP filling station, KM 4, Ede Road",
                        "coordinates": {
                            "latitude": 0,
                            "longitude": 0
                        }
                    }
                ],
                "name": "string",
                "role": {
                    "main": "rider",
                    "category": "platform",
                    "status": "pending"
                },
                "telephone": "+2349012345678",
                "verified": true,
                "picture": {
                    "mimeType": "string",
                    "url": "string"
                },
                "review": {
                    "totalRaters": 0,
                    "rating": 0
                },
                "dateAccepted": "2025-10-08T15:30:00.451Z"
            },
            "ridersNotified": true,
            "delivery": {
                "location": {
                    "city": "Ile - Ife (Off Campus)",
                    "street": "Parakin",
                    "description": "Beside AP filling station, KM 4, Ede Road",
                    "coordinates": {
                        "latitude": 0,
                        "longitude": 0
                    }
                },
                "telephone": "+2349012345678",
                "message": "string"
            },
            "summary": {
                "items": {
                    "count": 0,
                    "price": {
                        "currency": "ngn",
                        "amount": 0
                    }
                },
                "packs": {
                    "count": 0,
                    "price": {
                        "currency": "ngn",
                        "amount": 0
                    }
                },
                "delivery": {
                    "price": {
                        "currency": "ngn",
                        "amount": 0
                    }
                },
                "service": {
                    "price": {
                        "currency": "ngn",
                        "amount": 0
                    }
                },
                "bill": {
                    "price": {
                        "currency": "ngn",
                        "amount": 0
                    }
                }
            },
            "timelines": [
                {
                    "dateCreated": "2025-10-08T15:30:00.451Z",
                    "status": "pending",
                    "location": {
                        "city": "Ile - Ife (Off Campus)",
                        "street": "Parakin",
                        "description": "Beside AP filling station, KM 4, Ede Road",
                        "coordinates": {
                            "latitude": 0,
                            "longitude": 0
                        }
                    },
                    "type": "source"
                }
            ],
            "trackings": [
                {
                    "dateCreated": "2025-10-08T15:30:00.451Z",
                    "status": "pending",
                    "type": "customer-payment",
                    "message": "string"
                }
            ],
            "combos": [
                {
                    "id": "string",
                    "name": "string",
                    "picture": {
                        "mimeType": "string",
                        "url": "string"
                    },
                    "price": {
                        "currency": "ngn",
                        "amount": 0
                    },
                    "count": 0
                }
            ],
            "packs": [
                [
                    {
                        "id": "string",
                        "name": "string",
                        "picture": {
                            "mimeType": "string",
                            "url": "string"
                        },
                        "price": {
                            "currency": "ngn",
                            "amount": 0
                        },
                        "count": 0
                    }
                ]
            ],
            "groceries": [
                {
                    "id": "string",
                    "name": "string",
                    "picture": {
                        "mimeType": "string",
                        "url": "string"
                    },
                    "price": {
                        "currency": "ngn",
                        "amount": 0
                    },
                    "count": 0
                }
            ],
            "confirmationCode": "string",
            "confirmationCodeConfirmed": true,
            "share": {
                "image": {
                    "url": "string"
                }
            }
        },
        "user": {
            "id": "string",
            "active": true,
            "locations": [
                {
                    "city": "Ile - Ife (Off Campus)",
                    "street": "Parakin",
                    "description": "Beside AP filling station, KM 4, Ede Road",
                    "coordinates": {
                        "latitude": 0,
                        "longitude": 0
                    }
                }
            ],
            "name": "string",
            "role": {
                "main": "rider",
                "category": "platform",
                "status": "pending"
            },
            "telephone": "+2349012345678",
            "verified": true,
            "picture": {
                "mimeType": "string",
                "url": "string"
            },
            "review": {
                "totalRaters": 0,
                "rating": 0
            },
            "banks": [
                {
                    "code": "string",
                    "name": "string",
                    "account": {
                        "name": "string",
                        "number": "string"
                    },
                    "id": "string"
                }
            ],
            "wallet": {
                "balance": {
                    "currency": "ngn",
                    "amount": 0
                },
                "pin": {
                    "enabled": true
                }
            },
            "orders": {
                "statuses": {
                    "ongoing": {
                        "timestamp": {
                            "start": "2025-10-08T15:30:00.451Z",
                            "end": "2025-10-08T15:30:00.451Z"
                        }
                    },
                    "accepted": {
                        "timestamp": {
                            "start": "2025-10-08T15:30:00.451Z",
                            "end": "2025-10-08T15:30:00.451Z"
                        }
                    }
                },
                "box": {
                    "locked": true
                }
            },
            "email": "string",
            "emailVerified": true,
            "notifications": {
                "push": {
                    "enabled": true
                }
            }
        },
        "beneficiary": {
            "bank": {
                "code": "string",
                "name": "string",
                "account": {
                    "name": "string",
                    "number": "string"
                },
                "id": "string"
            },
            "expiryDate": "2025-10-08T15:30:00.451Z"
        }
    }
}
Modified at 2025-10-26 08:19:37
Previous
update store cart
Next
clear cart
Built with