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 |
Rejects return on an line item.
See: Content API for Shopping Reference for content.orders.rejectreturnlineitem
.
Synopsis
- type OrdersRejectreturnlineitemResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("orders" :> (Capture "orderId" Text :> ("rejectReturnLineItem" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] OrdersRejectReturnLineItemRequest :> Post '[JSON] OrdersRejectReturnLineItemResponse)))))))
- ordersRejectreturnlineitem :: Word64 -> OrdersRejectReturnLineItemRequest -> Text -> OrdersRejectreturnlineitem
- data OrdersRejectreturnlineitem
- orrMerchantId :: Lens' OrdersRejectreturnlineitem Word64
- orrPayload :: Lens' OrdersRejectreturnlineitem OrdersRejectReturnLineItemRequest
- orrOrderId :: Lens' OrdersRejectreturnlineitem Text
REST Resource
type OrdersRejectreturnlineitemResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("orders" :> (Capture "orderId" Text :> ("rejectReturnLineItem" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] OrdersRejectReturnLineItemRequest :> Post '[JSON] OrdersRejectReturnLineItemResponse))))))) Source #
A resource alias for content.orders.rejectreturnlineitem
method which the
OrdersRejectreturnlineitem
request conforms to.
Creating a Request
ordersRejectreturnlineitem Source #
Creates a value of OrdersRejectreturnlineitem
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data OrdersRejectreturnlineitem Source #
Rejects return on an line item.
See: ordersRejectreturnlineitem
smart constructor.
Instances
Request Lenses
orrMerchantId :: Lens' OrdersRejectreturnlineitem Word64 Source #
The ID of the account that manages the order. This cannot be a multi-client account.
orrPayload :: Lens' OrdersRejectreturnlineitem OrdersRejectReturnLineItemRequest Source #
Multipart request metadata.
orrOrderId :: Lens' OrdersRejectreturnlineitem Text Source #
The ID of the order.