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 a shipment's status, carrier, and/or tracking ID.
See: Content API for Shopping Reference for content.orders.updateshipment
.
Synopsis
- type OrdersUpdateshipmentResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("orders" :> (Capture "orderId" Text :> ("updateShipment" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] OrdersUpdateShipmentRequest :> Post '[JSON] OrdersUpdateShipmentResponse)))))))
- ordersUpdateshipment :: Word64 -> OrdersUpdateShipmentRequest -> Text -> OrdersUpdateshipment
- data OrdersUpdateshipment
- ouMerchantId :: Lens' OrdersUpdateshipment Word64
- ouPayload :: Lens' OrdersUpdateshipment OrdersUpdateShipmentRequest
- ouOrderId :: Lens' OrdersUpdateshipment Text
REST Resource
type OrdersUpdateshipmentResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("orders" :> (Capture "orderId" Text :> ("updateShipment" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] OrdersUpdateShipmentRequest :> Post '[JSON] OrdersUpdateShipmentResponse))))))) Source #
A resource alias for content.orders.updateshipment
method which the
OrdersUpdateshipment
request conforms to.
Creating a Request
Creates a value of OrdersUpdateshipment
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data OrdersUpdateshipment Source #
Updates a shipment's status, carrier, and/or tracking ID.
See: ordersUpdateshipment
smart constructor.
Instances
Request Lenses
ouMerchantId :: Lens' OrdersUpdateshipment Word64 Source #
The ID of the account that manages the order. This cannot be a multi-client account.
ouPayload :: Lens' OrdersUpdateshipment OrdersUpdateShipmentRequest Source #
Multipart request metadata.