GET v2/me/pendingorders/search?itemType={itemType}&itemId={itemId}

[User Permission Required] if there exist pending orders of specific action of this member. if exist we return the placeorder id , other wise we return 0
item type options: Unknown = -1, TeamMember = 0, TeamCreation = 1, MemberSuspension = 2, TeamSuspension = 3, ClassFee = 4, EventFee = 5, PayPackageCost = 6, PersonalTrainingSessionFee = 7
eg: itemType->TeamCreation ;itemId-> team id , we check if you already has a pending order of this case

Note of TeamCreation: if use order type TeamCreation, there will be 2 case here, if team is already created and need to pay team fee , you just pass team id as entity id here.
the other case is that if league need to pay before team created. you guys do not have a team id, so you can pass the league id as entity id here so that we can detect it

Request Information


NameDescriptionAdditional information

Define this parameter in the request URI.

entity id

Define this parameter in the request URI.

Response Information

place order id

Response body formats

application/json, text/json


application/xml, text/xml

<int xmlns="">1</int>