Overview
Error Handling

Methods

API Documentation (API Version bleed)

Account/Subscriptions/

DESCRIPTION

This section contains methods adjust which automatic mailings an account receives.

get

URL:

https://api.liquidweb.com/bleed/Account/Subscriptions/get

Description:

Returns the current subscription settings for the logged in account.

Parameters:

No Values Defined

Returns:

FieldType
newsletterA boolean value (0 or 1).
promotionsA boolean value (0 or 1).

Possible Errors:

Refer to the Error Handling documentation for the list of exception types

update

URL:

https://api.liquidweb.com/bleed/Account/Subscriptions/update

Description:

Updates the current subscription settings for the logged in account.

Parameters:

ParameterTypeNotes
newsletterA boolean value (0 or 1).* Required if:
  • promotions is not given
promotionsA boolean value (0 or 1).* Required if:
  • newsletter is not given

Returns:

FieldTypeNotes
newsletterA boolean value (0 or 1).* Optional
promotionsA boolean value (0 or 1).* Optional

Possible Errors:

Refer to the Error Handling documentation for the list of exception types