Managem
DocsMarketplace
DocsMarketplace
  1. Purchases
  • 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
      • Add an item
      • Update an item
      • Remove an item
      • Get basket summary
      • Get information, fees & delivery costs
      • Create checkout session
    • 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
        • Get purchase
          GET
        • Update purchase
          POST
        • List purchase history
          GET
      • 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
        GET
    • Profiles
      • Get user profile
      • List reviews
  • Legals
    • Seller Policy
    • Buyer Protection
    • Buyer Policy
    • Grading & Condition Policy
    • Terms & Conditions
    • Privacy Policy
  1. Purchases

Get purchase

GET
/user/purchases/{id}
Retrieve a single purchase, including orders, items and shipments.

Request

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

Responses

🟢200OK
application/json
Purchase
Body

🟠404Record Not Found
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.managem.co.uk/user/purchases/' \
--header 'Authorization: Bearer <token>'
Response Response Example
{
    "id": "string",
    "customerEmailAddress": "user@example.com",
    "deliveryCharge": 0,
    "deliveryAddress": {
        "name": "string",
        "city": "string",
        "country": "string",
        "line1": "string",
        "line2": "string",
        "postal_code": "string",
        "state": "string"
    },
    "subtotal": 0,
    "total": 0,
    "serviceFee": 0,
    "status": "ACTIVE",
    "createdAt": "2019-08-24T14:15:22Z",
    "updatedAt": "2019-08-24T14:15:22Z",
    "invoiceId": "string",
    "user": {
        "id": "string",
        "username": "string",
        "avatar": "http://example.com",
        "cover": "http://example.com",
        "profile": "string",
        "reviews": 0,
        "rating": 0,
        "score": 0,
        "sales": 0,
        "purchases": 0
    },
    "orders": [
        {
            "id": "string",
            "sellerId": "string",
            "deliveryCharge": 0,
            "subtotal": 0,
            "total": 0,
            "createdAt": "2019-08-24",
            "updatedAt": "2019-08-24",
            "items": [
                {
                    "id": "string",
                    "status": "PENDING",
                    "listingId": "string",
                    "orderId": "string",
                    "urn": "string",
                    "price": 0,
                    "quantity": 0,
                    "condition": "string",
                    "language": "string",
                    "variants": [],
                    "comment": "string",
                    "shipmentId": "string",
                    "caseId": "string",
                    "createdAt": "2019-08-24",
                    "updatedAt": "2019-08-24",
                    "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
                    }
                }
            ],
            "shipments": [
                {
                    "id": "string",
                    "trackingNumber": "string",
                    "trackingStatus": "string",
                    "trackingStatusDetail": "string",
                    "trackingUrl": "string",
                    "carrier": "string",
                    "createdAt": "2019-08-24",
                    "updatedAt": "2019-08-24",
                    "attachments": [
                        {
                            "id": "string",
                            "url": "http://example.com",
                            "hidden": true
                        }
                    ]
                }
            ],
            "reviews": {},
            "user": {
                "id": "string",
                "username": "string",
                "avatar": "http://example.com",
                "cover": "http://example.com",
                "profile": "string",
                "reviews": 0,
                "rating": 0,
                "score": 0,
                "sales": 0,
                "purchases": 0
            }
        }
    ],
    "cases": [
        {
            "id": "string",
            "workflowId": "string",
            "purchaseId": "string",
            "reason": "SNAD",
            "comment": "string",
            "status": "OPEN",
            "createdAt": "2019-08-24",
            "updatedAt": "2019-08-24",
            "outcomes": [
                {
                    "id": "string",
                    "type": "RETURN",
                    "party": "SELLER",
                    "status": "PENDING",
                    "caseId": "string",
                    "amount": 0,
                    "comment": "string",
                    "createdAt": "2019-08-24",
                    "updatedAt": "2019-08-24",
                    "deliveryAddress": {
                        "city": "string",
                        "country": "string",
                        "line1": "string",
                        "line2": "string",
                        "postal_code": "string",
                        "state": "string"
                    }
                }
            ],
            "attachments": [
                {
                    "url": "http://example.com",
                    "party": "SELLER",
                    "createdAt": "2019-08-24T14:15:22Z"
                }
            ]
        }
    ]
}
Previous
List purchases
Next
Update purchase
Built with