meta {
  name: GetTeamOffers
  type: http
  seq: 2
}

post {
  url: {{exchange_graphql_team}}
  body: graphql
  auth: none
}

headers {
  Authorization: Bearer {{access_token}}
}

body:graphql {
  query GetTeamOffers($teamUuid: String!) {
    getTeamOffers(teamUuid: $teamUuid) {
      uuid
      productName
      quantity
      status
    }
  }
}

body:graphql:vars {
  {
    "teamUuid": "ee0d350a-1ba8-412e-82eb-faecf542fc09"
  }
}

script:post-response {
  console.log("Response:", JSON.stringify(res.body, null, 2));
}
