Admin

Retrieve a team order items

Changed on

Retrieve the order items of a team.

get/admin/teams/{team_id}/order-items

Request

  • Base URL: https://api.presscart.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.presscart.com/admin/teams/{team_id}/order-items
  • Auth: HTTP bearer

Path parameters

team_idstring uuid required
Example:5da7de50-3b18-4732-936a-74d8aad030d4

Query parameters

limitnumber nullable
pagenumber nullable
order_by'asc' | 'desc'
sort_bystring
include_archived'true' | 'false'
skip_pagination'true' | 'false'
statusstring
start_datestring nullable
end_datestring nullable
date_criteria'created_at' | 'published_date'
searchstring

Response

Order items retrieved successfully

total_pagesnumber required
current_pagenumber required
next_pagenumber nullable required
previous_pagenumber nullable required
total_recordsnumber

Example response

{
  "records": [
    {
      "commission_amount": 22.105000000000004,
      "commission_status": "PENDING",
      "product": {
        "name": "Blog Post"
      },
      "article": {
        "name": "Maxime valetudo confero.",
        "campaign": {
          "name": "Campaign A"
        }
      },
      "open_swap": {
        "status": "PENDING_CLIENT",
        "price_difference": 200,
        "processing_fee": 6
      }
    }
  ]
}

Changes