gplay orders
gplay orders
Section titled “gplay orders”Manage orders.
gplay orders <subcommand> [flags]Manage orders and refunds.
Orders represent completed transactions for in-app products and subscriptions.
gplay orders get
Section titled “gplay orders get”Get order details.
gplay orders get --package <name> --order-id <id>| Flag | Description | Default |
|---|---|---|
--order-id |
Order ID (e.g., GPA.1234-5678-9012-34567) | `` |
--output |
Output format: json (default), table, markdown | json |
--package |
Package name (applicationId) | `` |
--pretty |
Pretty-print JSON output | false |
gplay orders batch-get
Section titled “gplay orders batch-get”Get multiple orders.
gplay orders batch-get --package <name> --order-ids <id1,id2,...>| Flag | Description | Default |
|---|---|---|
--order-ids |
Comma-separated list of order IDs | `` |
--output |
Output format: json (default), table, markdown | json |
--package |
Package name (applicationId) | `` |
--pretty |
Pretty-print JSON output | false |
gplay orders refund
Section titled “gplay orders refund”Refund an order.
gplay orders refund --package <name> --order-id <id> [--revoke] --confirmRefund an order.
Options: –revoke: Also revoke the entitlement (user loses access to the purchased item) Without this flag, the user keeps access but the payment is refunded.
| Flag | Description | Default |
|---|---|---|
--confirm |
Confirm refund | false |
--order-id |
Order ID to refund | `` |
--output |
Output format: json (default), table, markdown | json |
--package |
Package name (applicationId) | `` |
--pretty |
Pretty-print JSON output | false |
--revoke |
Revoke entitlement (user loses access) | false |