API v2 Migration Guide
Overview
Why This Change?
What's New?
Feature
v1 (Legacy)
v2 (New)
Key Benefits
Migration Checklist
Required Headers
x-organization (Required)
x-organization (Required)x-library (Required for library-scoped operations)
x-library (Required for library-scoped operations)x-api-key (For API authentication)
x-api-key (For API authentication)Complete Request Example
Complete Breaking Changes Reference
1. Input Objects: Removed Fields
Input Type
Removed Field(s)
Header to Use
2. Input Objects: Modified Fields
Input Type
Field
v1 (Legacy)
v2 (New)
3. Root Query Changes
Query
v1 Signature
v2 Signature
Change Type
4. Root Mutation Changes
Mutation
v1 Signature
v2 Signature
Change Type
5. Namespace Query Method Changes
CategoryQueryNamespace
CategoryQueryNamespaceMethod
v1 Signature
v2 Signature
ChangeOrdersQueryOperations
ChangeOrdersQueryOperationsMethod
v1 Signature
v2 Signature
ComponentQueryNamespace
ComponentQueryNamespaceMethod
v1 Signature
v2 Signature
IdentifierQueryNamespace
IdentifierQueryNamespaceMethod
v1 Signature
v2 Signature
OrganizationQueryNamespace
OrganizationQueryNamespaceMethod
v1 Signature
v2 Signature
WebhookQueryNamespace
WebhookQueryNamespaceMethod
v1 Signature
v2 Signature
6. Namespace Mutation Method Changes
ChangeOrdersMutationOperations
ChangeOrdersMutationOperationsMethod
v1 Signature
v2 Signature
ConfigMutationNamespace
ConfigMutationNamespaceMethod
v1 Signature
v2 Signature
OrganizationMutationNamespace
OrganizationMutationNamespaceMethod
v1 Signature
v2 Signature
MembershipMutationNamespace
MembershipMutationNamespaceMethod
v1 Signature
v2 Signature
7. Enum Changes
OrganizationRoleEnum
OrganizationRoleEnumv1 Values
v2 Values
Notes
8. Type Changes
Renamed Types
v1 Type
v2 Type
Notes
Modified Types
Type
Change
9. Removed Types (Complete List)
Removed Type
Category
10. New Types (Complete List)
New Type
Category
Purpose
11. Code Examples (Before/After)
Components
Change Orders
Libraries
Membership
Role-Based Access Control (RBAC)
Key Concepts
Role Hierarchy
Level
Description
Legacy Role Mapping
Legacy Enum
New System Role
Permissions
New RBAC Queries
Permission Categories
Resource
Actions
Permission Errors
Invitation System Changes
Type Rename
Bulk Invite Changes
Efficient Migration Strategy
Step 1: Update HTTP Client Configuration
Step 2: Search and Replace Input Objects
Step 3: Update Query/Mutation Calls
Step 4: Handle New Error Responses
Step 5: Test Thoroughly
FAQ
Q: Can I use both v1 and v2 patterns?
Q: What if I access multiple libraries?
Q: How do I get my organization/library slugs?
Q: My API key was created for a specific library. Do I need a new one?
Q: What happens if headers are missing?
Support
Next Steps
Last updated
Was this helpful?