This method will look up a package by the specified ID and return it back.
curl -i -X GET \ 'https://membership.api.756794052567.rhythmsoftware.com/packages/:tenantId/:id?fields=string&consistentRead=string' \ -H 'Authorization: YOUR_API_KEY_HERE'
{- "display_in_portal_as": "string",
- "membership_type_id": "string",
- "renews_with_id": "string",
- "does_not_receive_member_benefits": true,
- "display_order": 0,
- "enable_dues_proration": true,
- "dues_proration": {
- "applies_to": "new members",
- "january": 0,
- "february": 0,
- "march": 0,
- "april": 0,
- "may": 0,
- "june": 0,
- "july": 0,
- "august": 0,
- "september": 0,
- "october": 0,
- "november": 0,
- "december": 0
}, - "override_chapter_configuration": true,
- "chapter_configuration": {
- "minimum_number_of_chapters_a_member_can_join": 0,
- "maximum_number_of_chapters_a_member_can_join": 1,
- "auto_assignment": "off",
- "portal_restrictions": "members cannot change chapters",
- "mode": "optional single chapter"
}, - "override_section_configuration": true,
- "section_configuration": {
- "portal_restrictions": "members cannot change sections"
}, - "auto_renew_by_default": true,
- "available_to": "new members",
- "expiration_options": {
- "expiration_type": "calendar",
- "calendar_expiration_options": {
- "start_of_calendar_year": 1,
- "sell_for_next_year_after": "string",
- "number_of_years": 1
}, - "anniversary_expiration_options": {
- "sell_for_next_month_after": 1,
- "allow_mid_month_expirations": true,
- "term_length": 1,
- "term_type": "days",
- "enable_fixed_expiration_dates": true,
- "fixed_expiration_dates": [
- {
- "range_start": "string",
- "range_end": "string",
- "expiration_date": "string"
}
]
}, - "grace_period": 0,
- "allow_reinstatement": true,
- "reinstatement_options": {
- "reinstatement_period": 0,
- "give_renewal_pricing_during_reinstatement_period": true
}
}, - "description": "string",
- "organizational_membership_options": {
- "maximum_number_of_contacts": 0,
- "allow_for_purchase_of_additional_contacts": true,
- "additional_contact_purchasing_info": {
- "add_on_product_id": "string",
- "maximum_number_of_additional_contacts": 0
}
}, - "bill_organization": true,
- "update_dates_when": "invoice paid in full",
- "suggest_donations": [
- {
- "product_id": "string",
- "suggested_amount": 0
}
], - "hide_from_online_store": true,
- "product_tags_to_show_at_checkout": [
- "string"
], - "id": "string",
- "type": "membership-packages",
- "name": "string",
- "business_unit_id": "string",
- "price": 0,
- "member_price": 0,
- "enable_product_confirmation_email": true,
- "product_confirmation_email_options": {
- "type": "product specific",
- "product_confirmation_email_id": "string",
- "product_specific_email": {
- "from": "string",
- "from_name": "string",
- "reply_to": "string",
- "subject": "string",
- "cc": "string",
- "bcc": "string",
- "body": "string"
}
}, - "enable_cancellation_fees": true,
- "cancellation_fee": 0,
- "enable_purchase_limits": true,
- "purchase_limits": {
- "type": "per customer",
- "maximum": 0,
- "time_period": "all time",
- "relative_time_window": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}, - "error_message": "string"
}, - "enable_task_generation": true,
- "tasks_to_generate": [
- {
- "name": "string",
- "description": "string",
- "priority": "low",
- "type_id": "string",
- "notify_assignees": true,
- "assignee_type": "user",
- "assignment_role_id": "string",
- "user_id": "string",
- "queue_id": "string",
- "due_date_type": "none",
- "specific_due_date": "2019-08-24T14:15:22Z",
- "relative_due_date": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}
}
], - "enable_document_entitlement_creation": true,
- "document_entitlements_to_create": [
- {
- "file_cabinet_id": "string",
- "item_id": "string",
- "library_path": "string",
- "expiration_type": "none",
- "expiration_date": "2019-08-24T14:15:22Z",
- "relative_expiration_date": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}
}
], - "enable_bulk_pricing": true,
- "bulk_pricing_rules": [
- {
- "starting_range": 0,
- "ending_range": 0,
- "discount_type": "percentage",
- "discount_amount": 0
}
], - "enable_purchasing_eligibility": true,
- "purchasing_eligibility_criteria": { },
- "enable_special_prices": true,
- "special_prices": [
- {
- "name": "string",
- "criteria": { },
- "price": 0,
- "enable_formula": true,
- "formula": "string"
}
], - "allow_customer_to_choose_installment_plan": true,
- "enable_bundled_products": true,
- "installment_plan_options": [
- {
- "installment_plan_id": "string",
- "additional_cost": 0,
- "is_default": true
}
], - "foreign_currency_prices": [
- {
- "currency_code": "AED",
- "price": 0,
- "member_price": 0,
- "cancellation_fee": 0,
- "restocking_fee": 0
}
], - "is_active": true,
- "bundled_products": [
- {
- "type": "bundled product",
- "product_type": "string",
- "product_id": "string",
- "quantity": 0,
- "price": 0,
- "member_price": 0
}
], - "bundled_products_inventory_handling": "bundle",
- "hide_from_portal": true,
- "publish_to_portal": true,
- "portal_options": {
- "available_from": "2019-08-24T14:15:22Z",
- "available_until": "2019-08-24T14:15:22Z"
}, - "notes": "string",
- "enable_coupon_code_generation": true,
- "coupon_codes": [
- {
- "coupon_type": "string",
- "coupon_id": "string",
- "coupon_code_type": "single use",
- "coupon_code_generation_process_id": "string",
- "quantity": 250,
- "restrict_to_contact": true,
- "restrict_to_organization": true,
- "expiration_type": "none",
- "expiration_date": "2019-08-24T14:15:22Z",
- "relative_expiration_date": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}, - "maximum_number_of_uses_per_customer": 1,
- "maximum_number_of_total_uses": 1
}
], - "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
This method will update an existing package with the specified ID.
The updated package that will be saved.
{- "display_in_portal_as": "string",
- "membership_type_id": "string",
- "renews_with_id": "string",
- "does_not_receive_member_benefits": true,
- "display_order": 0,
- "enable_dues_proration": true,
- "dues_proration": {
- "applies_to": "new members",
- "january": 0,
- "february": 0,
- "march": 0,
- "april": 0,
- "may": 0,
- "june": 0,
- "july": 0,
- "august": 0,
- "september": 0,
- "october": 0,
- "november": 0,
- "december": 0
}, - "override_chapter_configuration": true,
- "chapter_configuration": {
- "minimum_number_of_chapters_a_member_can_join": 0,
- "maximum_number_of_chapters_a_member_can_join": 1,
- "auto_assignment": "off",
- "portal_restrictions": "members cannot change chapters",
- "mode": "optional single chapter"
}, - "override_section_configuration": true,
- "section_configuration": {
- "portal_restrictions": "members cannot change sections"
}, - "auto_renew_by_default": true,
- "available_to": "new members",
- "expiration_options": {
- "expiration_type": "calendar",
- "calendar_expiration_options": {
- "start_of_calendar_year": 1,
- "sell_for_next_year_after": "string",
- "number_of_years": 1
}, - "anniversary_expiration_options": {
- "sell_for_next_month_after": 1,
- "allow_mid_month_expirations": true,
- "term_length": 1,
- "term_type": "days",
- "enable_fixed_expiration_dates": true,
- "fixed_expiration_dates": [
- {
- "range_start": "string",
- "range_end": "string",
- "expiration_date": "string"
}
]
}, - "grace_period": 0,
- "allow_reinstatement": true,
- "reinstatement_options": {
- "reinstatement_period": 0,
- "give_renewal_pricing_during_reinstatement_period": true
}
}, - "description": "string",
- "organizational_membership_options": {
- "maximum_number_of_contacts": 0,
- "allow_for_purchase_of_additional_contacts": true,
- "additional_contact_purchasing_info": {
- "add_on_product_id": "string",
- "maximum_number_of_additional_contacts": 0
}
}, - "bill_organization": true,
- "update_dates_when": "invoice paid in full",
- "suggest_donations": [
- {
- "product_id": "string",
- "suggested_amount": 0
}
], - "hide_from_online_store": true,
- "product_tags_to_show_at_checkout": [
- "string"
], - "id": "string",
- "type": "membership-packages",
- "name": "string",
- "business_unit_id": "string",
- "price": 0,
- "member_price": 0,
- "enable_product_confirmation_email": true,
- "product_confirmation_email_options": {
- "type": "product specific",
- "product_confirmation_email_id": "string",
- "product_specific_email": {
- "from": "string",
- "from_name": "string",
- "reply_to": "string",
- "subject": "string",
- "cc": "string",
- "bcc": "string",
- "body": "string"
}
}, - "enable_cancellation_fees": true,
- "cancellation_fee": 0,
- "enable_purchase_limits": true,
- "purchase_limits": {
- "type": "per customer",
- "maximum": 0,
- "time_period": "all time",
- "relative_time_window": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}, - "error_message": "string"
}, - "enable_task_generation": true,
- "tasks_to_generate": [
- {
- "name": "string",
- "description": "string",
- "priority": "low",
- "type_id": "string",
- "notify_assignees": true,
- "assignee_type": "user",
- "assignment_role_id": "string",
- "user_id": "string",
- "queue_id": "string",
- "due_date_type": "none",
- "specific_due_date": "2019-08-24T14:15:22Z",
- "relative_due_date": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}
}
], - "enable_document_entitlement_creation": true,
- "document_entitlements_to_create": [
- {
- "file_cabinet_id": "string",
- "item_id": "string",
- "library_path": "string",
- "expiration_type": "none",
- "expiration_date": "2019-08-24T14:15:22Z",
- "relative_expiration_date": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}
}
], - "enable_bulk_pricing": true,
- "bulk_pricing_rules": [
- {
- "starting_range": 0,
- "ending_range": 0,
- "discount_type": "percentage",
- "discount_amount": 0
}
], - "enable_purchasing_eligibility": true,
- "purchasing_eligibility_criteria": { },
- "enable_special_prices": true,
- "special_prices": [
- {
- "name": "string",
- "criteria": { },
- "price": 0,
- "enable_formula": true,
- "formula": "string"
}
], - "allow_customer_to_choose_installment_plan": true,
- "enable_bundled_products": true,
- "installment_plan_options": [
- {
- "installment_plan_id": "string",
- "additional_cost": 0,
- "is_default": true
}
], - "foreign_currency_prices": [
- {
- "currency_code": "AED",
- "price": 0,
- "member_price": 0,
- "cancellation_fee": 0,
- "restocking_fee": 0
}
], - "is_active": true,
- "bundled_products": [
- {
- "type": "bundled product",
- "product_type": "string",
- "product_id": "string",
- "quantity": 0,
- "price": 0,
- "member_price": 0
}
], - "bundled_products_inventory_handling": "bundle",
- "hide_from_portal": true,
- "publish_to_portal": true,
- "portal_options": {
- "available_from": "2019-08-24T14:15:22Z",
- "available_until": "2019-08-24T14:15:22Z"
}, - "notes": "string",
- "enable_coupon_code_generation": true,
- "coupon_codes": [
- {
- "coupon_type": "string",
- "coupon_id": "string",
- "coupon_code_type": "single use",
- "coupon_code_generation_process_id": "string",
- "quantity": 250,
- "restrict_to_contact": true,
- "restrict_to_organization": true,
- "expiration_type": "none",
- "expiration_date": "2019-08-24T14:15:22Z",
- "relative_expiration_date": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}, - "maximum_number_of_uses_per_customer": 1,
- "maximum_number_of_total_uses": 1
}
], - "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
{- "display_in_portal_as": "string",
- "membership_type_id": "string",
- "renews_with_id": "string",
- "does_not_receive_member_benefits": true,
- "display_order": 0,
- "enable_dues_proration": true,
- "dues_proration": {
- "applies_to": "new members",
- "january": 0,
- "february": 0,
- "march": 0,
- "april": 0,
- "may": 0,
- "june": 0,
- "july": 0,
- "august": 0,
- "september": 0,
- "october": 0,
- "november": 0,
- "december": 0
}, - "override_chapter_configuration": true,
- "chapter_configuration": {
- "minimum_number_of_chapters_a_member_can_join": 0,
- "maximum_number_of_chapters_a_member_can_join": 1,
- "auto_assignment": "off",
- "portal_restrictions": "members cannot change chapters",
- "mode": "optional single chapter"
}, - "override_section_configuration": true,
- "section_configuration": {
- "portal_restrictions": "members cannot change sections"
}, - "auto_renew_by_default": true,
- "available_to": "new members",
- "expiration_options": {
- "expiration_type": "calendar",
- "calendar_expiration_options": {
- "start_of_calendar_year": 1,
- "sell_for_next_year_after": "string",
- "number_of_years": 1
}, - "anniversary_expiration_options": {
- "sell_for_next_month_after": 1,
- "allow_mid_month_expirations": true,
- "term_length": 1,
- "term_type": "days",
- "enable_fixed_expiration_dates": true,
- "fixed_expiration_dates": [
- {
- "range_start": "string",
- "range_end": "string",
- "expiration_date": "string"
}
]
}, - "grace_period": 0,
- "allow_reinstatement": true,
- "reinstatement_options": {
- "reinstatement_period": 0,
- "give_renewal_pricing_during_reinstatement_period": true
}
}, - "description": "string",
- "organizational_membership_options": {
- "maximum_number_of_contacts": 0,
- "allow_for_purchase_of_additional_contacts": true,
- "additional_contact_purchasing_info": {
- "add_on_product_id": "string",
- "maximum_number_of_additional_contacts": 0
}
}, - "bill_organization": true,
- "update_dates_when": "invoice paid in full",
- "suggest_donations": [
- {
- "product_id": "string",
- "suggested_amount": 0
}
], - "hide_from_online_store": true,
- "product_tags_to_show_at_checkout": [
- "string"
], - "id": "string",
- "type": "membership-packages",
- "name": "string",
- "business_unit_id": "string",
- "price": 0,
- "member_price": 0,
- "enable_product_confirmation_email": true,
- "product_confirmation_email_options": {
- "type": "product specific",
- "product_confirmation_email_id": "string",
- "product_specific_email": {
- "from": "string",
- "from_name": "string",
- "reply_to": "string",
- "subject": "string",
- "cc": "string",
- "bcc": "string",
- "body": "string"
}
}, - "enable_cancellation_fees": true,
- "cancellation_fee": 0,
- "enable_purchase_limits": true,
- "purchase_limits": {
- "type": "per customer",
- "maximum": 0,
- "time_period": "all time",
- "relative_time_window": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}, - "error_message": "string"
}, - "enable_task_generation": true,
- "tasks_to_generate": [
- {
- "name": "string",
- "description": "string",
- "priority": "low",
- "type_id": "string",
- "notify_assignees": true,
- "assignee_type": "user",
- "assignment_role_id": "string",
- "user_id": "string",
- "queue_id": "string",
- "due_date_type": "none",
- "specific_due_date": "2019-08-24T14:15:22Z",
- "relative_due_date": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}
}
], - "enable_document_entitlement_creation": true,
- "document_entitlements_to_create": [
- {
- "file_cabinet_id": "string",
- "item_id": "string",
- "library_path": "string",
- "expiration_type": "none",
- "expiration_date": "2019-08-24T14:15:22Z",
- "relative_expiration_date": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}
}
], - "enable_bulk_pricing": true,
- "bulk_pricing_rules": [
- {
- "starting_range": 0,
- "ending_range": 0,
- "discount_type": "percentage",
- "discount_amount": 0
}
], - "enable_purchasing_eligibility": true,
- "purchasing_eligibility_criteria": { },
- "enable_special_prices": true,
- "special_prices": [
- {
- "name": "string",
- "criteria": { },
- "price": 0,
- "enable_formula": true,
- "formula": "string"
}
], - "allow_customer_to_choose_installment_plan": true,
- "enable_bundled_products": true,
- "installment_plan_options": [
- {
- "installment_plan_id": "string",
- "additional_cost": 0,
- "is_default": true
}
], - "foreign_currency_prices": [
- {
- "currency_code": "AED",
- "price": 0,
- "member_price": 0,
- "cancellation_fee": 0,
- "restocking_fee": 0
}
], - "is_active": true,
- "bundled_products": [
- {
- "type": "bundled product",
- "product_type": "string",
- "product_id": "string",
- "quantity": 0,
- "price": 0,
- "member_price": 0
}
], - "bundled_products_inventory_handling": "bundle",
- "hide_from_portal": true,
- "publish_to_portal": true,
- "portal_options": {
- "available_from": "2019-08-24T14:15:22Z",
- "available_until": "2019-08-24T14:15:22Z"
}, - "notes": "string",
- "enable_coupon_code_generation": true,
- "coupon_codes": [
- {
- "coupon_type": "string",
- "coupon_id": "string",
- "coupon_code_type": "single use",
- "coupon_code_generation_process_id": "string",
- "quantity": 250,
- "restrict_to_contact": true,
- "restrict_to_organization": true,
- "expiration_type": "none",
- "expiration_date": "2019-08-24T14:15:22Z",
- "relative_expiration_date": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}, - "maximum_number_of_uses_per_customer": 1,
- "maximum_number_of_total_uses": 1
}
], - "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
This method will patch an existing package with the specified ID, using the HTTP PATCH specification.
The patch directives conforming to RFC 6902.
[- {
- "op": "add",
- "path": "string",
- "value": "string"
}
]
{- "display_in_portal_as": "string",
- "membership_type_id": "string",
- "renews_with_id": "string",
- "does_not_receive_member_benefits": true,
- "display_order": 0,
- "enable_dues_proration": true,
- "dues_proration": {
- "applies_to": "new members",
- "january": 0,
- "february": 0,
- "march": 0,
- "april": 0,
- "may": 0,
- "june": 0,
- "july": 0,
- "august": 0,
- "september": 0,
- "october": 0,
- "november": 0,
- "december": 0
}, - "override_chapter_configuration": true,
- "chapter_configuration": {
- "minimum_number_of_chapters_a_member_can_join": 0,
- "maximum_number_of_chapters_a_member_can_join": 1,
- "auto_assignment": "off",
- "portal_restrictions": "members cannot change chapters",
- "mode": "optional single chapter"
}, - "override_section_configuration": true,
- "section_configuration": {
- "portal_restrictions": "members cannot change sections"
}, - "auto_renew_by_default": true,
- "available_to": "new members",
- "expiration_options": {
- "expiration_type": "calendar",
- "calendar_expiration_options": {
- "start_of_calendar_year": 1,
- "sell_for_next_year_after": "string",
- "number_of_years": 1
}, - "anniversary_expiration_options": {
- "sell_for_next_month_after": 1,
- "allow_mid_month_expirations": true,
- "term_length": 1,
- "term_type": "days",
- "enable_fixed_expiration_dates": true,
- "fixed_expiration_dates": [
- {
- "range_start": "string",
- "range_end": "string",
- "expiration_date": "string"
}
]
}, - "grace_period": 0,
- "allow_reinstatement": true,
- "reinstatement_options": {
- "reinstatement_period": 0,
- "give_renewal_pricing_during_reinstatement_period": true
}
}, - "description": "string",
- "organizational_membership_options": {
- "maximum_number_of_contacts": 0,
- "allow_for_purchase_of_additional_contacts": true,
- "additional_contact_purchasing_info": {
- "add_on_product_id": "string",
- "maximum_number_of_additional_contacts": 0
}
}, - "bill_organization": true,
- "update_dates_when": "invoice paid in full",
- "suggest_donations": [
- {
- "product_id": "string",
- "suggested_amount": 0
}
], - "hide_from_online_store": true,
- "product_tags_to_show_at_checkout": [
- "string"
], - "id": "string",
- "type": "membership-packages",
- "name": "string",
- "business_unit_id": "string",
- "price": 0,
- "member_price": 0,
- "enable_product_confirmation_email": true,
- "product_confirmation_email_options": {
- "type": "product specific",
- "product_confirmation_email_id": "string",
- "product_specific_email": {
- "from": "string",
- "from_name": "string",
- "reply_to": "string",
- "subject": "string",
- "cc": "string",
- "bcc": "string",
- "body": "string"
}
}, - "enable_cancellation_fees": true,
- "cancellation_fee": 0,
- "enable_purchase_limits": true,
- "purchase_limits": {
- "type": "per customer",
- "maximum": 0,
- "time_period": "all time",
- "relative_time_window": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}, - "error_message": "string"
}, - "enable_task_generation": true,
- "tasks_to_generate": [
- {
- "name": "string",
- "description": "string",
- "priority": "low",
- "type_id": "string",
- "notify_assignees": true,
- "assignee_type": "user",
- "assignment_role_id": "string",
- "user_id": "string",
- "queue_id": "string",
- "due_date_type": "none",
- "specific_due_date": "2019-08-24T14:15:22Z",
- "relative_due_date": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}
}
], - "enable_document_entitlement_creation": true,
- "document_entitlements_to_create": [
- {
- "file_cabinet_id": "string",
- "item_id": "string",
- "library_path": "string",
- "expiration_type": "none",
- "expiration_date": "2019-08-24T14:15:22Z",
- "relative_expiration_date": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}
}
], - "enable_bulk_pricing": true,
- "bulk_pricing_rules": [
- {
- "starting_range": 0,
- "ending_range": 0,
- "discount_type": "percentage",
- "discount_amount": 0
}
], - "enable_purchasing_eligibility": true,
- "purchasing_eligibility_criteria": { },
- "enable_special_prices": true,
- "special_prices": [
- {
- "name": "string",
- "criteria": { },
- "price": 0,
- "enable_formula": true,
- "formula": "string"
}
], - "allow_customer_to_choose_installment_plan": true,
- "enable_bundled_products": true,
- "installment_plan_options": [
- {
- "installment_plan_id": "string",
- "additional_cost": 0,
- "is_default": true
}
], - "foreign_currency_prices": [
- {
- "currency_code": "AED",
- "price": 0,
- "member_price": 0,
- "cancellation_fee": 0,
- "restocking_fee": 0
}
], - "is_active": true,
- "bundled_products": [
- {
- "type": "bundled product",
- "product_type": "string",
- "product_id": "string",
- "quantity": 0,
- "price": 0,
- "member_price": 0
}
], - "bundled_products_inventory_handling": "bundle",
- "hide_from_portal": true,
- "publish_to_portal": true,
- "portal_options": {
- "available_from": "2019-08-24T14:15:22Z",
- "available_until": "2019-08-24T14:15:22Z"
}, - "notes": "string",
- "enable_coupon_code_generation": true,
- "coupon_codes": [
- {
- "coupon_type": "string",
- "coupon_id": "string",
- "coupon_code_type": "single use",
- "coupon_code_generation_process_id": "string",
- "quantity": 250,
- "restrict_to_contact": true,
- "restrict_to_organization": true,
- "expiration_type": "none",
- "expiration_date": "2019-08-24T14:15:22Z",
- "relative_expiration_date": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}, - "maximum_number_of_uses_per_customer": 1,
- "maximum_number_of_total_uses": 1
}
], - "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
This method will delete a package with the specified ID.
curl -i -X DELETE \ https://membership.api.756794052567.rhythmsoftware.com/packages/:tenantId/:id \ -H 'Authorization: YOUR_API_KEY_HERE'
"string"
Public endpoint that gets packages for use in the online store
Restrictions
{- "membership_type_restriction": "none",
- "membership_type_ids": [
- "string"
], - "membership_package_restriction": "none",
- "membership_package_ids": [
- "string"
]
}
{- "types": [
- {
- "id": "string",
- "name": "string",
- "display_in_portal_as": "string",
- "universal_shopping_cart_image_uri": "string",
- "display_order": 0
}
], - "packages": [
- {
- "id": "string",
- "name": "string",
- "price": 0,
- "membership_type_id": "string",
- "member_price": 0,
- "enable_special_prices": true,
- "display_in_portal_as": "string",
- "description": "string"
}
]
}
TAllows you to perform up to 100 parallel patch/delete operations
The batch request
Array of objects |
{- "operations": [
- {
- "operation": "create",
- "id": "string",
- "patch_directives": [
- {
- "op": "add",
- "path": "string",
- "value": "string"
}
], - "object": { }
}
]
}
{- "success_count": 0,
- "error_count": 0,
- "results": [
- {
- "operation": "create",
- "id": "string",
- "outcome": "success",
- "error_message": "string",
- "object": { }
}
]
}
This method will auto-generate an ID and create a new package. If an ID is specified for the package, an error will be thrown.
The package that you would like to be saved.
{- "display_in_portal_as": "string",
- "membership_type_id": "string",
- "renews_with_id": "string",
- "does_not_receive_member_benefits": true,
- "display_order": 0,
- "enable_dues_proration": true,
- "dues_proration": {
- "applies_to": "new members",
- "january": 0,
- "february": 0,
- "march": 0,
- "april": 0,
- "may": 0,
- "june": 0,
- "july": 0,
- "august": 0,
- "september": 0,
- "october": 0,
- "november": 0,
- "december": 0
}, - "override_chapter_configuration": true,
- "chapter_configuration": {
- "minimum_number_of_chapters_a_member_can_join": 0,
- "maximum_number_of_chapters_a_member_can_join": 1,
- "auto_assignment": "off",
- "portal_restrictions": "members cannot change chapters",
- "mode": "optional single chapter"
}, - "override_section_configuration": true,
- "section_configuration": {
- "portal_restrictions": "members cannot change sections"
}, - "auto_renew_by_default": true,
- "available_to": "new members",
- "expiration_options": {
- "expiration_type": "calendar",
- "calendar_expiration_options": {
- "start_of_calendar_year": 1,
- "sell_for_next_year_after": "string",
- "number_of_years": 1
}, - "anniversary_expiration_options": {
- "sell_for_next_month_after": 1,
- "allow_mid_month_expirations": true,
- "term_length": 1,
- "term_type": "days",
- "enable_fixed_expiration_dates": true,
- "fixed_expiration_dates": [
- {
- "range_start": "string",
- "range_end": "string",
- "expiration_date": "string"
}
]
}, - "grace_period": 0,
- "allow_reinstatement": true,
- "reinstatement_options": {
- "reinstatement_period": 0,
- "give_renewal_pricing_during_reinstatement_period": true
}
}, - "description": "string",
- "organizational_membership_options": {
- "maximum_number_of_contacts": 0,
- "allow_for_purchase_of_additional_contacts": true,
- "additional_contact_purchasing_info": {
- "add_on_product_id": "string",
- "maximum_number_of_additional_contacts": 0
}
}, - "bill_organization": true,
- "update_dates_when": "invoice paid in full",
- "suggest_donations": [
- {
- "product_id": "string",
- "suggested_amount": 0
}
], - "hide_from_online_store": true,
- "product_tags_to_show_at_checkout": [
- "string"
], - "id": "string",
- "type": "membership-packages",
- "name": "string",
- "business_unit_id": "string",
- "price": 0,
- "member_price": 0,
- "enable_product_confirmation_email": true,
- "product_confirmation_email_options": {
- "type": "product specific",
- "product_confirmation_email_id": "string",
- "product_specific_email": {
- "from": "string",
- "from_name": "string",
- "reply_to": "string",
- "subject": "string",
- "cc": "string",
- "bcc": "string",
- "body": "string"
}
}, - "enable_cancellation_fees": true,
- "cancellation_fee": 0,
- "enable_purchase_limits": true,
- "purchase_limits": {
- "type": "per customer",
- "maximum": 0,
- "time_period": "all time",
- "relative_time_window": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}, - "error_message": "string"
}, - "enable_task_generation": true,
- "tasks_to_generate": [
- {
- "name": "string",
- "description": "string",
- "priority": "low",
- "type_id": "string",
- "notify_assignees": true,
- "assignee_type": "user",
- "assignment_role_id": "string",
- "user_id": "string",
- "queue_id": "string",
- "due_date_type": "none",
- "specific_due_date": "2019-08-24T14:15:22Z",
- "relative_due_date": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}
}
], - "enable_document_entitlement_creation": true,
- "document_entitlements_to_create": [
- {
- "file_cabinet_id": "string",
- "item_id": "string",
- "library_path": "string",
- "expiration_type": "none",
- "expiration_date": "2019-08-24T14:15:22Z",
- "relative_expiration_date": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}
}
], - "enable_bulk_pricing": true,
- "bulk_pricing_rules": [
- {
- "starting_range": 0,
- "ending_range": 0,
- "discount_type": "percentage",
- "discount_amount": 0
}
], - "enable_purchasing_eligibility": true,
- "purchasing_eligibility_criteria": { },
- "enable_special_prices": true,
- "special_prices": [
- {
- "name": "string",
- "criteria": { },
- "price": 0,
- "enable_formula": true,
- "formula": "string"
}
], - "allow_customer_to_choose_installment_plan": true,
- "enable_bundled_products": true,
- "installment_plan_options": [
- {
- "installment_plan_id": "string",
- "additional_cost": 0,
- "is_default": true
}
], - "foreign_currency_prices": [
- {
- "currency_code": "AED",
- "price": 0,
- "member_price": 0,
- "cancellation_fee": 0,
- "restocking_fee": 0
}
], - "is_active": true,
- "bundled_products": [
- {
- "type": "bundled product",
- "product_type": "string",
- "product_id": "string",
- "quantity": 0,
- "price": 0,
- "member_price": 0
}
], - "bundled_products_inventory_handling": "bundle",
- "hide_from_portal": true,
- "publish_to_portal": true,
- "portal_options": {
- "available_from": "2019-08-24T14:15:22Z",
- "available_until": "2019-08-24T14:15:22Z"
}, - "notes": "string",
- "enable_coupon_code_generation": true,
- "coupon_codes": [
- {
- "coupon_type": "string",
- "coupon_id": "string",
- "coupon_code_type": "single use",
- "coupon_code_generation_process_id": "string",
- "quantity": 250,
- "restrict_to_contact": true,
- "restrict_to_organization": true,
- "expiration_type": "none",
- "expiration_date": "2019-08-24T14:15:22Z",
- "relative_expiration_date": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}, - "maximum_number_of_uses_per_customer": 1,
- "maximum_number_of_total_uses": 1
}
], - "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
{- "display_in_portal_as": "string",
- "membership_type_id": "string",
- "renews_with_id": "string",
- "does_not_receive_member_benefits": true,
- "display_order": 0,
- "enable_dues_proration": true,
- "dues_proration": {
- "applies_to": "new members",
- "january": 0,
- "february": 0,
- "march": 0,
- "april": 0,
- "may": 0,
- "june": 0,
- "july": 0,
- "august": 0,
- "september": 0,
- "october": 0,
- "november": 0,
- "december": 0
}, - "override_chapter_configuration": true,
- "chapter_configuration": {
- "minimum_number_of_chapters_a_member_can_join": 0,
- "maximum_number_of_chapters_a_member_can_join": 1,
- "auto_assignment": "off",
- "portal_restrictions": "members cannot change chapters",
- "mode": "optional single chapter"
}, - "override_section_configuration": true,
- "section_configuration": {
- "portal_restrictions": "members cannot change sections"
}, - "auto_renew_by_default": true,
- "available_to": "new members",
- "expiration_options": {
- "expiration_type": "calendar",
- "calendar_expiration_options": {
- "start_of_calendar_year": 1,
- "sell_for_next_year_after": "string",
- "number_of_years": 1
}, - "anniversary_expiration_options": {
- "sell_for_next_month_after": 1,
- "allow_mid_month_expirations": true,
- "term_length": 1,
- "term_type": "days",
- "enable_fixed_expiration_dates": true,
- "fixed_expiration_dates": [
- {
- "range_start": "string",
- "range_end": "string",
- "expiration_date": "string"
}
]
}, - "grace_period": 0,
- "allow_reinstatement": true,
- "reinstatement_options": {
- "reinstatement_period": 0,
- "give_renewal_pricing_during_reinstatement_period": true
}
}, - "description": "string",
- "organizational_membership_options": {
- "maximum_number_of_contacts": 0,
- "allow_for_purchase_of_additional_contacts": true,
- "additional_contact_purchasing_info": {
- "add_on_product_id": "string",
- "maximum_number_of_additional_contacts": 0
}
}, - "bill_organization": true,
- "update_dates_when": "invoice paid in full",
- "suggest_donations": [
- {
- "product_id": "string",
- "suggested_amount": 0
}
], - "hide_from_online_store": true,
- "product_tags_to_show_at_checkout": [
- "string"
], - "id": "string",
- "type": "membership-packages",
- "name": "string",
- "business_unit_id": "string",
- "price": 0,
- "member_price": 0,
- "enable_product_confirmation_email": true,
- "product_confirmation_email_options": {
- "type": "product specific",
- "product_confirmation_email_id": "string",
- "product_specific_email": {
- "from": "string",
- "from_name": "string",
- "reply_to": "string",
- "subject": "string",
- "cc": "string",
- "bcc": "string",
- "body": "string"
}
}, - "enable_cancellation_fees": true,
- "cancellation_fee": 0,
- "enable_purchase_limits": true,
- "purchase_limits": {
- "type": "per customer",
- "maximum": 0,
- "time_period": "all time",
- "relative_time_window": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}, - "error_message": "string"
}, - "enable_task_generation": true,
- "tasks_to_generate": [
- {
- "name": "string",
- "description": "string",
- "priority": "low",
- "type_id": "string",
- "notify_assignees": true,
- "assignee_type": "user",
- "assignment_role_id": "string",
- "user_id": "string",
- "queue_id": "string",
- "due_date_type": "none",
- "specific_due_date": "2019-08-24T14:15:22Z",
- "relative_due_date": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}
}
], - "enable_document_entitlement_creation": true,
- "document_entitlements_to_create": [
- {
- "file_cabinet_id": "string",
- "item_id": "string",
- "library_path": "string",
- "expiration_type": "none",
- "expiration_date": "2019-08-24T14:15:22Z",
- "relative_expiration_date": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}
}
], - "enable_bulk_pricing": true,
- "bulk_pricing_rules": [
- {
- "starting_range": 0,
- "ending_range": 0,
- "discount_type": "percentage",
- "discount_amount": 0
}
], - "enable_purchasing_eligibility": true,
- "purchasing_eligibility_criteria": { },
- "enable_special_prices": true,
- "special_prices": [
- {
- "name": "string",
- "criteria": { },
- "price": 0,
- "enable_formula": true,
- "formula": "string"
}
], - "allow_customer_to_choose_installment_plan": true,
- "enable_bundled_products": true,
- "installment_plan_options": [
- {
- "installment_plan_id": "string",
- "additional_cost": 0,
- "is_default": true
}
], - "foreign_currency_prices": [
- {
- "currency_code": "AED",
- "price": 0,
- "member_price": 0,
- "cancellation_fee": 0,
- "restocking_fee": 0
}
], - "is_active": true,
- "bundled_products": [
- {
- "type": "bundled product",
- "product_type": "string",
- "product_id": "string",
- "quantity": 0,
- "price": 0,
- "member_price": 0
}
], - "bundled_products_inventory_handling": "bundle",
- "hide_from_portal": true,
- "publish_to_portal": true,
- "portal_options": {
- "available_from": "2019-08-24T14:15:22Z",
- "available_until": "2019-08-24T14:15:22Z"
}, - "notes": "string",
- "enable_coupon_code_generation": true,
- "coupon_codes": [
- {
- "coupon_type": "string",
- "coupon_id": "string",
- "coupon_code_type": "single use",
- "coupon_code_generation_process_id": "string",
- "quantity": 250,
- "restrict_to_contact": true,
- "restrict_to_organization": true,
- "expiration_type": "none",
- "expiration_date": "2019-08-24T14:15:22Z",
- "relative_expiration_date": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}, - "maximum_number_of_uses_per_customer": 1,
- "maximum_number_of_total_uses": 1
}
], - "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
This method will scan all packages and and return them to the caller.
curl -i -X GET \ 'https://membership.api.756794052567.rhythmsoftware.com/packages/:tenantId?fields=string&exclusiveStartKey=string' \ -H 'Authorization: YOUR_API_KEY_HERE'
[- {
- "display_in_portal_as": "string",
- "membership_type_id": "string",
- "renews_with_id": "string",
- "does_not_receive_member_benefits": true,
- "display_order": 0,
- "enable_dues_proration": true,
- "dues_proration": {
- "applies_to": "new members",
- "january": 0,
- "february": 0,
- "march": 0,
- "april": 0,
- "may": 0,
- "june": 0,
- "july": 0,
- "august": 0,
- "september": 0,
- "october": 0,
- "november": 0,
- "december": 0
}, - "override_chapter_configuration": true,
- "chapter_configuration": {
- "minimum_number_of_chapters_a_member_can_join": 0,
- "maximum_number_of_chapters_a_member_can_join": 1,
- "auto_assignment": "off",
- "portal_restrictions": "members cannot change chapters",
- "mode": "optional single chapter"
}, - "override_section_configuration": true,
- "section_configuration": {
- "portal_restrictions": "members cannot change sections"
}, - "auto_renew_by_default": true,
- "available_to": "new members",
- "expiration_options": {
- "expiration_type": "calendar",
- "calendar_expiration_options": {
- "start_of_calendar_year": 1,
- "sell_for_next_year_after": "string",
- "number_of_years": 1
}, - "anniversary_expiration_options": {
- "sell_for_next_month_after": 1,
- "allow_mid_month_expirations": true,
- "term_length": 1,
- "term_type": "days",
- "enable_fixed_expiration_dates": true,
- "fixed_expiration_dates": [
- {
- "range_start": "string",
- "range_end": "string",
- "expiration_date": "string"
}
]
}, - "grace_period": 0,
- "allow_reinstatement": true,
- "reinstatement_options": {
- "reinstatement_period": 0,
- "give_renewal_pricing_during_reinstatement_period": true
}
}, - "description": "string",
- "organizational_membership_options": {
- "maximum_number_of_contacts": 0,
- "allow_for_purchase_of_additional_contacts": true,
- "additional_contact_purchasing_info": {
- "add_on_product_id": "string",
- "maximum_number_of_additional_contacts": 0
}
}, - "bill_organization": true,
- "update_dates_when": "invoice paid in full",
- "suggest_donations": [
- {
- "product_id": "string",
- "suggested_amount": 0
}
], - "hide_from_online_store": true,
- "product_tags_to_show_at_checkout": [
- "string"
], - "id": "string",
- "type": "membership-packages",
- "name": "string",
- "business_unit_id": "string",
- "price": 0,
- "member_price": 0,
- "enable_product_confirmation_email": true,
- "product_confirmation_email_options": {
- "type": "product specific",
- "product_confirmation_email_id": "string",
- "product_specific_email": {
- "from": "string",
- "from_name": "string",
- "reply_to": "string",
- "subject": "string",
- "cc": "string",
- "bcc": "string",
- "body": "string"
}
}, - "enable_cancellation_fees": true,
- "cancellation_fee": 0,
- "enable_purchase_limits": true,
- "purchase_limits": {
- "type": "per customer",
- "maximum": 0,
- "time_period": "all time",
- "relative_time_window": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}, - "error_message": "string"
}, - "enable_task_generation": true,
- "tasks_to_generate": [
- {
- "name": "string",
- "description": "string",
- "priority": "low",
- "type_id": "string",
- "notify_assignees": true,
- "assignee_type": "user",
- "assignment_role_id": "string",
- "user_id": "string",
- "queue_id": "string",
- "due_date_type": "none",
- "specific_due_date": "2019-08-24T14:15:22Z",
- "relative_due_date": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}
}
], - "enable_document_entitlement_creation": true,
- "document_entitlements_to_create": [
- {
- "file_cabinet_id": "string",
- "item_id": "string",
- "library_path": "string",
- "expiration_type": "none",
- "expiration_date": "2019-08-24T14:15:22Z",
- "relative_expiration_date": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}
}
], - "enable_bulk_pricing": true,
- "bulk_pricing_rules": [
- {
- "starting_range": 0,
- "ending_range": 0,
- "discount_type": "percentage",
- "discount_amount": 0
}
], - "enable_purchasing_eligibility": true,
- "purchasing_eligibility_criteria": { },
- "enable_special_prices": true,
- "special_prices": [
- {
- "name": "string",
- "criteria": { },
- "price": 0,
- "enable_formula": true,
- "formula": "string"
}
], - "allow_customer_to_choose_installment_plan": true,
- "enable_bundled_products": true,
- "installment_plan_options": [
- {
- "installment_plan_id": "string",
- "additional_cost": 0,
- "is_default": true
}
], - "foreign_currency_prices": [
- {
- "currency_code": "AED",
- "price": 0,
- "member_price": 0,
- "cancellation_fee": 0,
- "restocking_fee": 0
}
], - "is_active": true,
- "bundled_products": [
- {
- "type": "bundled product",
- "product_type": "string",
- "product_id": "string",
- "quantity": 0,
- "price": 0,
- "member_price": 0
}
], - "bundled_products_inventory_handling": "bundle",
- "hide_from_portal": true,
- "publish_to_portal": true,
- "portal_options": {
- "available_from": "2019-08-24T14:15:22Z",
- "available_until": "2019-08-24T14:15:22Z"
}, - "notes": "string",
- "enable_coupon_code_generation": true,
- "coupon_codes": [
- {
- "coupon_type": "string",
- "coupon_id": "string",
- "coupon_code_type": "single use",
- "coupon_code_generation_process_id": "string",
- "quantity": 250,
- "restrict_to_contact": true,
- "restrict_to_organization": true,
- "expiration_type": "none",
- "expiration_date": "2019-08-24T14:15:22Z",
- "relative_expiration_date": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}, - "maximum_number_of_uses_per_customer": 1,
- "maximum_number_of_total_uses": 1
}
], - "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
]