Version: eXtendPS-SE 1.3.7 and above
Audience:
Administrator
Problem
PromoStandards users may encounter "Ship
address should have required field" errors
when required information is missing in an
item fulfillment's shipping address.
Common error messages include:
- General Error – Contact the System
Service Provider [Ship address should
have required field [address1]. Please
contact your service provider.]
- General Error – Contact the System
Service Provider [Ship address should
have required field [city]. Please
contact your service provider.]
- General Error – Contact the System
Service Provider [Ship address should
have required field [postalCode].
Please contact your service
provider.]
- General Error – Contact the System
Service Provider [Ship address should
have required field [region]. Please
contact your service provider.]
- General Error – Contact the System
Service Provider [Ship address should
have required field [country]. Please
contact your service provider.]
Cause
These errors occur when an item fulfillment
record in NetSuite doesn't contain the
PromoStandards-required shipping address
information to complete the request.
For an Order Shipment Notification response
to be sent, address1, city, region, and
postalCode are required. (Source: PromoStandards
Order Ship Notification
1.0.0)
Solution
Depending on the use case, choose one of
the following solutions:
- Update the item fulfillment records
to include the missing
information: This method
is recommended when the item
fulfillment records are expected to be
included in the PromoStandards
response by your customer.
- Exclude records from the
response: When the item
fulfillment records with the errors
aren't expected to be included in the
PromoStandards response by your
customer, and if there is logic to
detect them, they can be excluded from
being returned in the response. This
will prevent the error from occurring.
Refer to the Order Shipment Notification Setup Configuration for instructions on how to modify the
records considered for the
PromoStandards response.