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 price and availability for multiple products or stores in a single request. This operation does not update the expiration date of the products.
See: Content API for Shopping Reference for content.inventory.custombatch
.
- type InventoryCustombatchResource = "content" :> ("v2" :> ("inventory" :> ("batch" :> (QueryParam "dryRun" Bool :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] InventoryCustomBatchRequest :> Post '[JSON] InventoryCustomBatchResponse))))))
- inventoryCustombatch :: InventoryCustomBatchRequest -> InventoryCustombatch
- data InventoryCustombatch
- icPayload :: Lens' InventoryCustombatch InventoryCustomBatchRequest
- icDryRun :: Lens' InventoryCustombatch (Maybe Bool)
REST Resource
type InventoryCustombatchResource = "content" :> ("v2" :> ("inventory" :> ("batch" :> (QueryParam "dryRun" Bool :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] InventoryCustomBatchRequest :> Post '[JSON] InventoryCustomBatchResponse)))))) Source #
A resource alias for content.inventory.custombatch
method which the
InventoryCustombatch
request conforms to.
Creating a Request
Creates a value of InventoryCustombatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data InventoryCustombatch Source #
Updates price and availability for multiple products or stores in a single request. This operation does not update the expiration date of the products.
See: inventoryCustombatch
smart constructor.
Request Lenses
icPayload :: Lens' InventoryCustombatch InventoryCustomBatchRequest Source #
Multipart request metadata.