Managem
DocsMarketplace
DocsMarketplace
  1. Basket
  • Selling
    • Onboarding
    • Create a Listing
    • Grading your Cards
    • Packing your order
  • Buying
  • API
    • Search & Data
      • Items
        • Full-text search
      • Lookup
        • Retrieve an item
        • Retrieve multiple items
        • Retrieve usernames
      • Hierarchy
        • Game
          • Set
            • Type
              • Game set item type search
            • Game set search
          • Game search
        • Get full hierarchy
      • Listings
        • Search seller's listings
        • Search all listings
        • Search listings for an item
        • Retrieve historical prices for an item
    • Basket
      • List basket contents
        GET
      • Add an item
        POST
      • Update an item
        PUT
      • Remove an item
        DELETE
      • Get basket summary
        GET
      • Get information, fees & delivery costs
        GET
      • Create checkout session
        POST
    • Sellers
      • Account
        • Create account
        • Get account details
        • Get current status
        • Get dashboard URL
        • Update vacation mode
      • Listings
        • Suggest prices
        • Create listing
        • Bulk create listings
        • Search listings
        • List listings by item
        • Get listing
        • Update listing
        • Delete listing
        • Create attachment
        • Finalize attachment
        • Delete attachment
      • Orders
        • List orders
        • Get order history
        • Get order
        • Update order
        • List carriers
        • Generate packing slip
        • Create shipment attachment
        • Finalize shipment attachment
      • Cases
        • List cases
        • Get case
        • Update case
        • Create case attachment
        • Finalize case attachment
      • Delivery Costs
        • Get delivery configuration
        • Upsert delivery configuration
      • Balance
        • Get current balance
        • Withdraw funds
        • List payouts
        • List transfers
      • Stats
    • Users
      • Conversations
        • List conversations
        • Create conversation
        • Get unread count
        • List messages
        • Lock conversation
        • Send a message
        • Create message attachment
        • Finalize message attachment
      • Address Management
        • Find/Lookup addresses
        • Retrieve full address details
        • Store a new Address
        • List all Addresses
        • Delete an Address
      • Reviews
        • List reviews
        • Get review
        • Create review
        • Update review
        • Delete review
      • Cases
        • List cases
        • Get case
        • Create case attachment
        • Finalize case attachment
        • Update case
      • Purchases
        • List purchases
        • Get purchase
        • Update purchase
        • List purchase history
      • Payments
        • Get customer portal link
        • Get invoice download URL
        • List invoices
      • Account
        • Get account information
        • Update password
        • Update user profile
        • Update email address
        • Update email address (verification)
        • Create avatar upload url
        • Finalize avatar upload
        • Create cover upload url
        • Finalize cover upload
      • Stats
    • Profiles
      • Get user profile
      • List reviews
  • Legals
    • Seller Policy
    • Buyer Protection
    • Buyer Policy
    • Grading & Condition Policy
    • Terms & Conditions
    • Privacy Policy
  1. Basket

Add an item

POST
/basket/{id}
Add an item to the basket.

Request

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

Body Params application/json

Examples

Responses

🟢200OK
application/json
Updated list of items in the basket
Body

🟠404Record Not Found
🟠409409
🔴500Server Error
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.managem.co.uk/basket/' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "listingId": "string",
    "quantity": 1
}'
Response Response Example
200 - Example 1
{
    "property1": [
        {
            "urn": "string",
            "price": 1,
            "quantity": 1,
            "condition": "string",
            "language": "string",
            "variants": [],
            "comment": "string",
            "sellerId": "string",
            "listing": {
                "id": "string",
                "sellerId": "string",
                "condition": "string",
                "price": 0,
                "quantity": 1,
                "available": 0,
                "language": "string",
                "variants": [],
                "comment": "string",
                "gradingProvider": "string",
                "gradingScore": "string",
                "gradingNumber": "string",
                "createdAt": "string",
                "updatedAt": "string",
                "item": {
                    "urn": "string",
                    "type": "card",
                    "game": "Pokemon",
                    "title": "string",
                    "name": "string",
                    "rarity": "string",
                    "number": "string",
                    "description": "string",
                    "set": {
                        "name": "string",
                        "size": 0,
                        "urn": "string",
                        "counts": {
                            "printed": 0,
                            "total": 0
                        },
                        "symbol": {
                            "url": "string"
                        },
                        "released": "string",
                        "references": [
                            "string"
                        ]
                    },
                    "series": {
                        "name": "string",
                        "urn": "string"
                    },
                    "images": [
                        {
                            "urn": "string",
                            "illustrator": "string",
                            "url": "http://example.com"
                        }
                    ],
                    "alternatives": [
                        "string"
                    ],
                    "metadata": [
                        {
                            "name": "string",
                            "value": "string",
                            "detail": null
                        }
                    ],
                    "price": 0,
                    "available": 0,
                    "quantity": 0,
                    "min": {
                        "id": "string",
                        "sellerId": "string",
                        "price": 0
                    },
                    "max": {
                        "id": "string",
                        "sellerId": "string",
                        "price": 0
                    }
                },
                "seller": {
                    "id": "string",
                    "username": "string",
                    "avatar": "http://example.com",
                    "cover": "http://example.com",
                    "profile": "string",
                    "reviews": 0,
                    "rating": 0,
                    "score": 0,
                    "sales": 0,
                    "purchases": 0
                }
            },
            "expires": "2019-08-24T14:15:22Z"
        }
    ],
    "property2": []
}
Previous
List basket contents
Next
Update an item
Built with