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 |
Sets (overrides) merchant provided annotations on the line item.
See: Content API for Shopping Reference for content.orders.setlineitemmetadata
.
Synopsis
- type OrdersSetlineitemmetadataResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("orders" :> (Capture "orderId" Text :> ("setLineItemMetadata" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] OrdersSetLineItemMetadataRequest :> Post '[JSON] OrdersSetLineItemMetadataResponse)))))))
- ordersSetlineitemmetadata :: Word64 -> OrdersSetLineItemMetadataRequest -> Text -> OrdersSetlineitemmetadata
- data OrdersSetlineitemmetadata
- ossMerchantId :: Lens' OrdersSetlineitemmetadata Word64
- ossPayload :: Lens' OrdersSetlineitemmetadata OrdersSetLineItemMetadataRequest
- ossOrderId :: Lens' OrdersSetlineitemmetadata Text
REST Resource
type OrdersSetlineitemmetadataResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("orders" :> (Capture "orderId" Text :> ("setLineItemMetadata" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] OrdersSetLineItemMetadataRequest :> Post '[JSON] OrdersSetLineItemMetadataResponse))))))) Source #
A resource alias for content.orders.setlineitemmetadata
method which the
OrdersSetlineitemmetadata
request conforms to.
Creating a Request
ordersSetlineitemmetadata Source #
Creates a value of OrdersSetlineitemmetadata
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data OrdersSetlineitemmetadata Source #
Sets (overrides) merchant provided annotations on the line item.
See: ordersSetlineitemmetadata
smart constructor.
Instances
Request Lenses
ossMerchantId :: Lens' OrdersSetlineitemmetadata Word64 Source #
The ID of the account that manages the order. This cannot be a multi-client account.
ossPayload :: Lens' OrdersSetlineitemmetadata OrdersSetLineItemMetadataRequest Source #
Multipart request metadata.
ossOrderId :: Lens' OrdersSetlineitemmetadata Text Source #
The ID of the order.