PUT v3/basket/membership-subscriptions

Replace all memberships in the current basket

Request Information

URI Parameters

None.

Body Parameters

Collection of NewMembershipSubscription
NameDescriptionTypeAdditional information
Membership

string

None.

AutoRenew

boolean

None.

OverriddenPrice

decimal number

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json

Sample:
[
  {
    "membership": "sample string 1",
    "autoRenew": true
  },
  {
    "membership": "sample string 1",
    "autoRenew": true
  }
]

text/xml

Sample:

The response/request for text/xml format is no longer supported for this endpoint.

Response Information

Resource Description

Collection of MembershipSubscription
NameDescriptionTypeAdditional information
AutoRenew

boolean

None.

Membership

Membership

None.

StartDate

date

None.

ExpiryDate

date

None.

IsRenewal

boolean

None.

RelatedDonationId

string

None.

CustomItems

Collection of CustomItem

None.

Discount

The amount this item has been discounted by from any offers.

decimal number

None.

OriginalPrice

The original price of the item, before it was overridden.

decimal number

None.

Price

The nominal price of the item, before any commissions, discounts etc. have been applied.

decimal number

None.

PriceOverridden

If true, the nominal price of the item (before commissions, discounts etc.) has been overridden. Price contains the overridden price; OriginalPrice contains the price before it was overridden

boolean

None.

Total

The total price of the item after any commissions, discounts etc. have been applied.

decimal number

None.

Id

string

None.

Response Formats

application/json, text/xml

Sample:

Sample not available.