cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Error while trying to create fulfillmentPolicy

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 

POST https://api.ebay.com/sell/account/v1/fulfillment_policy

I included Content-Type : application/json and Authorization Bearer <AccessToken> in Headers
 
Token was created with https://api.ebay.com/oauth/api_scope/sell.account scope included
 
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?
Message 1 of 1
latest reply
0 REPLIES 0