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 the inventory verification contract for the specified country.
See: Content API for Shopping Reference for content.liasettings.setinventoryverificationcontact
.
Synopsis
- type LiaSettingsSetinventoryverificationcontactResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("liasettings" :> (Capture "accountId" (Textual Word64) :> ("setinventoryverificationcontact" :> (QueryParam "contactEmail" Text :> (QueryParam "contactName" Text :> (QueryParam "country" Text :> (QueryParam "language" Text :> (QueryParam "alt" AltJSON :> Post '[JSON] LiaSettingsSetInventoryVerificationContactResponse))))))))))
- liaSettingsSetinventoryverificationcontact :: Text -> Word64 -> Text -> Word64 -> Text -> Text -> LiaSettingsSetinventoryverificationcontact
- data LiaSettingsSetinventoryverificationcontact
- lssContactEmail :: Lens' LiaSettingsSetinventoryverificationcontact Text
- lssMerchantId :: Lens' LiaSettingsSetinventoryverificationcontact Word64
- lssCountry :: Lens' LiaSettingsSetinventoryverificationcontact Text
- lssAccountId :: Lens' LiaSettingsSetinventoryverificationcontact Word64
- lssContactName :: Lens' LiaSettingsSetinventoryverificationcontact Text
- lssLanguage :: Lens' LiaSettingsSetinventoryverificationcontact Text
REST Resource
type LiaSettingsSetinventoryverificationcontactResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("liasettings" :> (Capture "accountId" (Textual Word64) :> ("setinventoryverificationcontact" :> (QueryParam "contactEmail" Text :> (QueryParam "contactName" Text :> (QueryParam "country" Text :> (QueryParam "language" Text :> (QueryParam "alt" AltJSON :> Post '[JSON] LiaSettingsSetInventoryVerificationContactResponse)))))))))) Source #
A resource alias for content.liasettings.setinventoryverificationcontact
method which the
LiaSettingsSetinventoryverificationcontact
request conforms to.
Creating a Request
liaSettingsSetinventoryverificationcontact Source #
Creates a value of LiaSettingsSetinventoryverificationcontact
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data LiaSettingsSetinventoryverificationcontact Source #
Sets the inventory verification contract for the specified country.
See: liaSettingsSetinventoryverificationcontact
smart constructor.
Instances
Request Lenses
lssContactEmail :: Lens' LiaSettingsSetinventoryverificationcontact Text Source #
The email of the inventory verification contact.
lssMerchantId :: Lens' LiaSettingsSetinventoryverificationcontact Word64 Source #
The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.
lssCountry :: Lens' LiaSettingsSetinventoryverificationcontact Text Source #
The country for which inventory verification is requested.
lssAccountId :: Lens' LiaSettingsSetinventoryverificationcontact Word64 Source #
The ID of the account that manages the order. This cannot be a multi-client account.
lssContactName :: Lens' LiaSettingsSetinventoryverificationcontact Text Source #
The name of the inventory verification contact.
lssLanguage :: Lens' LiaSettingsSetinventoryverificationcontact Text Source #
The language for which inventory verification is requested.