What is the Staging Environment?
The staging environment allows you to:- Test your integration with realistic, production-like data
 - Validate API functionality before implementing in production
 - Identify and resolve issues before they affect real shipments
 - Practice workflows for products, orders, and inventory management
 
If you haven’t created a Staging account yet, contact our support team at onboarding@oplog.io to set up your staging environment.
Setting Up Your Staging Environment
Step 1: Create Your Staging Account
Contact our support team to create a staging account that mirrors your production setup:- Dedicated staging tenant with separate credentials
 - Test data environment with sample products and inventory
 - Access to all API endpoints in a safe testing environment
 
Step 2: Configure API Access
Once your staging account is ready:- Access Dashboard: Log into your staging dashboard at 
https://staging.oplog.one - Navigate to Integration: Go to Integrations > OpenAPI
 - Complete Setup: Follow the integration setup process
 - Obtain Credentials: You’ll receive staging-specific credentials:
- X-Tenant-Id: Your staging tenant identifier
 - StaticToken: Your staging authorization token
 
 
Store your staging credentials separately from production. Never use production credentials in staging or vice versa.
Step 3: Update Base URL
Use the staging base URL for all API requests:Testing Your Integration
Available Test Scenarios
You can test the following operations in staging:Product Management
Create and manage product definitions with test SKUs and inventory
Sales Orders
Process test orders with various payment methods and shipping options
Receiving Orders
Test incoming inventory workflows with different transfer types
Returns Processing
Validate return workflows and status transitions
Testing Workflow
- Send API Requests: Use staging endpoints to test your integration
 - Check Response Codes:
2xxstatus codes indicate successful requests4xxstatus codes indicate client errors - refer to our Error Reference
 - Monitor Status Changes: Track order status transitions and workflow progression
 - Validate Data: Ensure your integration handles responses correctly
 
Working with Test Data
Product Definitions
- Create test products with unique SKUs
 - Verify product data requirements and validation rules
 - Test inventory management workflows
 
Order Processing
- Send test orders with various configurations
 - Validate order status transitions
 - Test different payment methods and shipping options
 
Inventory Operations
- Test receiving order workflows
 - Validate stock level updates
 - Practice return processing scenarios
 
Staging-Specific Features
Controlled Environment
- No real shipments or financial transactions
 - Safe testing of error scenarios
 - Ability to reset data when needed
 
Extended Testing Support
For complex testing scenarios, contact your onboarding representative to:- Configure specific test data for your use cases
 - Simulate warehouse operations like receiving and shipping
 - Test edge cases and error conditions
 - Validate status transitions for orders and inventory
 
Data Management
- Test data can be reset as needed
 - Multiple test scenarios can run simultaneously
 - Historical test data is maintained for debugging
 
Best Practices
Comprehensive Testing
Test all API endpoints and workflows before production deployment
Error Handling
Validate error responses and implement proper error handling
Status Monitoring
Test status transition monitoring and webhook handling
Data Validation
Verify data integrity and validation rules work correctly
Frequently Asked Questions
What can I test in the staging environment?
What can I test in the staging environment?
You can test all API functionality including product creation, order processing, receiving orders, returns, and status monitoring. All operations work exactly like production but with test data.
How do I get test inventory for orders?
How do I get test inventory for orders?
Contact your onboarding representative to set up test inventory for your product definitions. This allows you to test complete order workflows including stock validation.
Can I test order status transitions?
Can I test order status transitions?
Yes, your onboarding representative can help simulate status transitions for orders and receiving orders to test your status monitoring and webhook integrations.
How many test orders should I create?
How many test orders should I create?
We recommend creating at least 3-5 test orders with different configurations to thoroughly test your integration and error handling.
Is staging data isolated from production?
Is staging data isolated from production?
Yes, staging and production environments are completely separate. No staging data affects production operations, and vice versa.
Ready to move to production? Contact your onboarding representative to discuss production setup and go-live procedures.
