POST v3/baskets/{id}/membership-subscriptions

Add a number of memberships to a basket

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

Collection of NewMembershipSubscription
NameDescriptionTypeAdditional information
Membership

string

None.

AutoRenew

boolean

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.

Price

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

decimal number

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.