I'm trying to create a new fulfillment policy to return my policyID which I can later assign in CreateOffer method.
All test are made using Postman
I'm using production environment and it's currently looking like this.
I've opted user into business program
Request payload in body
{
"categoryTypes": [
{
"name": "ALL_EXCLUDING_MOTORS_VEHICLES"
}
],
"marketplaceId": "EBAY_PL",
"name": "AAA",
"handlingTime": {
"unit": "DAY",
"value": "1"
},
"shippingOptions": [
{
"costType": "FLAT_RATE",
"optionType": "DOMESTIC",
"shippingServices": [
{
"freeShipping": "false",
"shippingCarrierCode": "UPS",
"shippingCost": {
"currency": "PLN",
"value": "20"
}
}
]
},
{
"costType": "CALCULATED",
"optionType": "INTERNATIONAL",
"shippingServices": [
{
"freeShipping": "false",
"shippingCarrierCode": "UPS",
"shipToLocations": {
"regionIncluded": [
{
"regionName": "Worldwide"
}
]
}
}
]
}
]
}
Response i receive
HTTP status code: 500 Internal Server Error
{
"errors": [
{
"errorId": 20500,
"domain": "API_ACCOUNT",
"category": "APPLICATION",
"message": "System error."
}
]
}
When trying to create or get PaymentPolicy or ReturnPolicy everyting works fine. What's going on with FulfillmentPolicy?