[#1064] memebership booking issue

Migrated from Redmine #1064 | Author: Mohammed Thoufiq M
Status: Feedback | Priority: High, I’m very impatient | Created: 2023-06-14


i am always getting this error when i try to book with memebership
“code”: -32050,
“message”: “Membership limit error”,
“data”:
my json body is
{
“jsonrpc”: “2.0”,
“method”: “book”,
“params”: [
25,
24,
“{{booking_date}}”,
“{{booktime}}”,
{
“client_id”: {{client_id}},
“client_sign”: “{{client_signature}}”
},
{
“handle_invoice”: true,
“39ce0f9cfeba836db00250c52179c5d0”: “test_notes”,
“client_membership_id”: 3
}

],
"id": {{client_id}}

}

Dmytro Bondarev wrote:

Hi,
Seems you are using wrong client membership id.
Without additional information i am not able to check.

Mohammed Thoufiq M wrote:

can i know how to get client membership id

Dmytro Bondarev wrote:

You can use this method to get list client’s memberships: