Skip to content

Membership Plan - Extras - Add condition

POST
/internal/v2/{bucket}/membership_type/{uid}/extras/condition

Add a condition to a membership plan e.g. Age: Under 18

bucket
required

The bucket (client) name

string
Example
example
uid
required

Usually the final element in the URI, an alphanumeric unique identifier

string
Example
6305f074683e800f3abe809e
key
required

The key element of the condition

string
value
required

The value element of the condition

string

Successful operation

A standard error message

object
description

A human readable description of the error

string
error

A concise error message

string
type

A machine readable error type

string

Unauthorized is the status code to return when the client provides no credentials or invalid credentials.

Forbidden is the status code to return when a client has valid credentials but not enough privileges to perform an action on a resource.

Not found

An error occurred within sheepCRM, please report to support@sheepcrm.com