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 |
Updates the merchant order ID for a given order.
See: Content API for Shopping Reference for content.orders.updatemerchantorderid
.
Synopsis
- type OrdersUpdatemerchantOrderidResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("orders" :> (Capture "orderId" Text :> ("updateMerchantOrderId" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] OrdersUpdateMerchantOrderIdRequest :> Post '[JSON] OrdersUpdateMerchantOrderIdResponse)))))))
- ordersUpdatemerchantOrderid :: Word64 -> OrdersUpdateMerchantOrderIdRequest -> Text -> OrdersUpdatemerchantOrderid
- data OrdersUpdatemerchantOrderid
- ouoMerchantId :: Lens' OrdersUpdatemerchantOrderid Word64
- ouoPayload :: Lens' OrdersUpdatemerchantOrderid OrdersUpdateMerchantOrderIdRequest
- ouoOrderId :: Lens' OrdersUpdatemerchantOrderid Text
REST Resource
type OrdersUpdatemerchantOrderidResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("orders" :> (Capture "orderId" Text :> ("updateMerchantOrderId" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] OrdersUpdateMerchantOrderIdRequest :> Post '[JSON] OrdersUpdateMerchantOrderIdResponse))))))) Source #
A resource alias for content.orders.updatemerchantorderid
method which the
OrdersUpdatemerchantOrderid
request conforms to.
Creating a Request
ordersUpdatemerchantOrderid Source #
Creates a value of OrdersUpdatemerchantOrderid
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data OrdersUpdatemerchantOrderid Source #
Updates the merchant order ID for a given order.
See: ordersUpdatemerchantOrderid
smart constructor.
Instances
Request Lenses
ouoMerchantId :: Lens' OrdersUpdatemerchantOrderid Word64 Source #
The ID of the account that manages the order. This cannot be a multi-client account.
ouoPayload :: Lens' OrdersUpdatemerchantOrderid OrdersUpdateMerchantOrderIdRequest Source #
Multipart request metadata.
ouoOrderId :: Lens' OrdersUpdatemerchantOrderid Text Source #
The ID of the order.