question

peter_kosmas avatar image
0 Likes"
peter_kosmas asked

Can't Publish Offer i get error and can't know what is going on

The Json request of making the offer is here :

{

"sku": "7",

"Content-Language" : "en-US",

"marketplaceId": "EBAY_US",

"format": "FIXED_PRICE",

"listingDescription": "This is the Listing Description",

"availableQuantity": 1,

"quantityLimitPerBuyer":1,

"pricingSummary": {

"price": {

"value": 14.99,

"currency": "USD"

}

},

"listingPolicies": {

"fulfillmentPolicyId": "78842674011",

"paymentPolicyId": "61019561011",

"returnPolicyId": "61019560011",


"shippingCostOverrides" : [

{

"additionalShippingCost" : {

"currency" : "USD",

"value" : "19"

},

"priority" : "1",

"shippingCost" : {

"currency" : "USD",

"value" : "19"

},

"shippingServiceType" : "DOMESTIC",

"surcharge" : {

"currency" : "USD",

"value" : "19"


}

}

]




},

"categoryId": "64488",

"merchantLocationKey": "120",


"tax": {

"vatPercentage": 10.2,

"applyTax": false,

"thirdPartyTaxCategory": "Magazines"

}


"ReturnPolicy" :{

"ReturnsAcceptedOption":"ReturnsAccepted",

"RefundOption": "MoneyBack",

"ReturnsWithinOption" : "Days_30",

"ShippingCostPaidByOption": "Buyer"


}




}


Which Parameters are missing and where do i add them ?

I am trying to find out as i am playing with the request to make it work before i start developing .

I am sure something is wrong but WHERE DO I DECLARE THE Return Policy ?


---

The response is here :

{

"errors": [

{

"errorId": 25009,

"domain": "API_INVENTORY",

"subdomain": "Selling",

"category": "REQUEST",

"message": "The eBay listing associated with the inventory item, or the unpublished offer has invalid data in the associated Return policy. A return option is missing or not valid. Update your return options.",

"parameters": [

{

"name": "0",

"value": "ReturnsAcceptedOption"

}

]

},

{

"errorId": 25009,

"domain": "API_INVENTORY",

"subdomain": "Selling",

"category": "REQUEST",

"message": "The eBay listing associated with the inventory item, or the unpublished offer has invalid data in the associated Return policy. A return option is missing or not valid. Update your return options.",

"parameters": [

{

"name": "0",

"value": "ReturnsWithinOption"

}

]

},

{

"errorId": 25009,

"domain": "API_INVENTORY",

"subdomain": "Selling",

"category": "REQUEST",

"message": "The eBay listing associated with the inventory item, or the unpublished offer has invalid data in the associated Return policy. A return option is missing or not valid. Update your return options.",

"parameters": [

{

"name": "0",

"value": "ShippingCostPaidByOption"

}

]

},

{

"errorId": 25007,

"domain": "API_INVENTORY",

"subdomain": "Selling",

"category": "REQUEST",

"message": "The eBay listing associated with the inventory item, or the unpublished offer has invalid data in the associated Fulfillment policy. At least one valid shipping service must be specified."

}

]

}

publish offer errorreturn-policy
10 |600

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

0 Answers

·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.