Spring Global (Spring Omni) Error: The property phone_number is required
The property phone_number is required while registering the shipment error is occurring when recipient's ph. no. parameter is not sent in the Shipment API
Error in the response:
The property phone_number is required while registering the shipment.
Solution:
This error is occurring when recipient’s phone_number parameter is not sent in the Shipment API https://api.myparcel.com/shipments
According to the Spring Omni documentation, phone_number is an optional parameter:
We raised ticket on Spring Omni and they replied: The shipment is failing to be created due to recipient phone number not being populated. Although, the schema shows this as optional but Spring require the phone number so the carriers can send notifications to the recipient (if they offer that service…)
So phone_number is a required parameter and need to be sent in shipment API.
For more Related Blogs, Please visit here:
Spring Global (Spring Omni) Error: Shipment is not being Registered
Spring Global (Spring Omni): Billing Concept
Spring Global (Spring Omni) Error: Resource Not Found
Spring Global (Spring Omni) Error: Getting Blank Response While Fetching Label
- Top 5 Abandoned Cart Recovery Modules for PrestaShop
- PrestaShop AI Chatbot Module by Knowband: Everything You Need to Know About the Latest Updates
- How to Use PrestaShop’s Override System Without Breaking Core
- Implementing Lazy Loading for Product Images in OpenCart
- Troubleshooting Common Errors After Upgrading to PrestaShop 9.x
