<aside> šŸ’” Date: 2025-02-06

The new v3 API endpoints have been added, with several important differences compared to v2. Each version will be maintained separately, and the key differences between the existing v2 and the new v3 are outlined below.


1. API Path and Version Header Changes

API Path Version
https://api.realpacking.com/v3 2025-01-09
https://api.realpacking.com/v2 2024-01-02

1.1 Handling Invalid API Requests

  1. If a request is made to an incorrect path (anything other than v2 or v3), the server will return a 400 Bad Request with the following error message:

    {
        "message": "Invalid API version path"
    }
    
  2. If the version header does not match the path, the server will return a 400 Bad Request with the following error message:

    {
        "message": "Invalid API version header"
    }
    
  3. If a v3 API key is used to access a v2 path, the server will return a 403 Forbidden with the following error message:

    {
        "message": "You do not have access to API version 'v2'"
    }
    

2. API-Specific Changes

2.1 Key Differences Between v2 and v3

v2 v3
Phone number format for Order Registration API and Modify an Order API No restrictions E.164 format required
HTTP status codes for successful video iframe API calls 200 OK, 205 Reset Content Only 200 OKsupported

2.2 Order APIs

3.3 Video iframe call API


3. ģœ ģ˜ 사항