question

henad89 avatar image
0 Likes"
henad89 asked

Publishing An Offer In Production Causes Policy Issues

Hello, I've done the following with the Ebay API.

  1. Create a location.
  2. Create an inventory item.
  3. Create a payment, return, and fulfillment policy.
  4. Create an offer referencing the inventory item.

When i trying to publish my offer, I get the following policy related errors. Mostly regarding the assigned return policy and one for the fulfillment policy.

{
    "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."
}


This is what my offer object looks like via the getOffer call.

{
    "offerId": "85023826018",
    "sku": "60ce96a89560d539cccfd7be",
    "marketplaceId": "EBAY_CA",
    "format": "FIXED_PRICE",
    "listingDescription": "Gladiator Mountain",
    "availableQuantity": 100,
    "quantityLimitPerBuyer": 5,
    "pricingSummary": {
        "price": {
            "value": "380.0",
            "currency": "CAD"
        },
        "pricingVisibility": "NONE"
    },
    "listingPolicies": {
        "paymentPolicyId": "212184565014",
        "returnPolicyId": "212185786014",
        "fulfillmentPolicyId": "212245907014",
        "eBayPlusIfEligible": false
    },
    "categoryId": "177831",
    "merchantLocationKey": "61272027fbd7e76bf8abe7ae",
    "tax": {
        "applyTax": true
    },
    "status": "UNPUBLISHED",
    "listingDuration": "GTC",
    "includeCatalogProductDetails": true,
    "hideBuyerDetails": false
}


This is what my return policy looks like via the getReturnPolicy call.

{
        "name": "Gladiator Return Policy Not Accepted",
        "description": "Gladiator bikes does not accept returns.",
        "marketplaceId": "EBAY_CA",
        "categoryTypes": [
            {
                "name": "ALL_EXCLUDING_MOTORS_VEHICLES",
                "default": false
            }
        ],
        "returnsAccepted": false,
        "returnPolicyId": "212185786014"
    }


And finally, this is what my fulfillment policy looks like via the getFulfillmentPolicy call.

{
        "name": "Gladiator Fulfillment Policy",
        "description": "Gladiator bikes fulfillment policy.",
        "marketplaceId": "EBAY_CA",
        "categoryTypes": [
            {
                "name": "ALL_EXCLUDING_MOTORS_VEHICLES",
                "default": true
            }
        ],
        "globalShipping": false,
        "pickupDropOff": false,
        "localPickup": true,
        "freightShipping": false,
        "fulfillmentPolicyId": "212245907014"
    }


As you can see, my return policy is a no return policy, and my fulfillment policy is a local pickup policy. Can someone please explain to me why i'm getting the errors in the publishOffer call? If any more data is needed to help debug this, I can provide it in this thread.

Thanks,

Hicham

publish offerfulfillment policyoffer apireturn policy
10 |600 characters needed characters left characters exceeded

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

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.