added

Session Configuration Fields and Discount Code Cloning

Discount Codes

  • Introduced new Clone endpoint (/discounts/{discount_id}/clone) to duplicate existing discount codes with:
    • Configurable override options for specific fields
    • Automatic cloning of visibility conditions
    • Origin tracking via cloned_from reference
    • Comprehensive validation for event authorization and source discount existence
  • Enhanced spec with Clone endpoint documentation and usage examples

Sessions

  • Enhanced session endpoints to expose previously undocumented fields:
    • prevent_session_conflicts
    • locked_when_saved
    • selected_by_default
    • session_status
  • Updated API documentation with:
    • Comprehensive field descriptions and examples
    • Extra fields functionality
    • Try-out examples for session management operations
    • Detailed response examples and expected behaviors