Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Retrieves an order return from your Merchant Center account.
See: Content API for Shopping Reference for content.orderreturns.get
.
Synopsis
- type OrderreturnsGetResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("orderreturns" :> (Capture "returnId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] MerchantOrderReturn)))))
- orderreturnsGet :: Word64 -> Text -> OrderreturnsGet
- data OrderreturnsGet
- oggMerchantId :: Lens' OrderreturnsGet Word64
- oggReturnId :: Lens' OrderreturnsGet Text
REST Resource
type OrderreturnsGetResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("orderreturns" :> (Capture "returnId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] MerchantOrderReturn))))) Source #
A resource alias for content.orderreturns.get
method which the
OrderreturnsGet
request conforms to.
Creating a Request
Creates a value of OrderreturnsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data OrderreturnsGet Source #
Retrieves an order return from your Merchant Center account.
See: orderreturnsGet
smart constructor.
Instances
Request Lenses
oggMerchantId :: Lens' OrderreturnsGet Word64 Source #
The ID of the account that manages the order. This cannot be a multi-client account.
oggReturnId :: Lens' OrderreturnsGet Text Source #
Merchant order return ID generated by Google.