All PostsDiscussionsBlogsIdeasQuestions
  •                    
  •                    
  •                    
  •                    
  •                    
  •                    
  •                    
  •                    
  •                    
  •                    
  •                    
  •                    
  •                    
  •                    
  •                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               
Discussions
eBay Community logo
  • Home
  • News & Updates
  • Buying & Selling
    • Buying
    • Selling
    • New to selling on eBay
    • Seller Tools
    • Shipping
    • Returns
    • eBay Advertising
    • Payments
    • Mobile Apps
  • Explore Categories
      • eBay Motors
      • Electronics
      • Collectibles & Art
      • Home & Garden
      • Clothing, Shoes & Accessories
      • Toys & Hobbies
      • Sporting Goods
      • Books, Movies & Music
      • Health & Beauty
      • Business & Industrial
      • Jewelry & Watches
      • Specialty Services
      • eBay Partner Network
      • Accessibility
      • eBay Developers Program
      • eBay Cafe
      • eBay Live
      • Community Mentors
    • Ask a Mentor
  • About
    • About the Community
    • Share Community Platform Feedback
    • Report eBay Technical Issues
    • About eBay
  • Community Events
    • Events
    • Seller Circle Hosts
    • Seller Circles
  • eBay Help
    • Special CategoriesChevronRightIcon
    • eBay Developers ProgramChevronRightIcon
    • RESTful Sell APIsChevronRightIcon
    • FulfillmentChevronRightIcon
    Trying to create a fulfillment policy for eBay's standard envelope (eSE)

    Hello. I would appreciate some help if possible.

     

    I am trying to create a fulfillment policy in the sandbox environment. It is for using the eSE service.

     

    In the documentation (https://developer.ebay.com/api-docs/sell/static/seller-accounts/using-the-ebay-standard-envelope-service.html), I see that we can use:

      "shippingOptions": [
        {
          "costType": "FLAT_RATE",
          "optionType": "DOMESTIC",
          "shippingServices": [
            {
              "freeShipping": "true",
              "shippingCarrierCode": "USPS",
              "shippingServiceCode": "US_eBayStandardEnvelope"
            }
          ]
        }
      ]

     

    So I created this payload to use:

    {
      "name": "Trading Cards - eBay Standard Envelope",
      "description": "Standard Envelope for items under $20",
      "marketplaceId": "EBAY_US",
      "categoryTypes": [
        {
          "name": "ALL_EXCLUDING_MOTORS_VEHICLES",
          "default": true
        }
      ],
      "handlingTime": {
        "value": 3,
        "unit": "DAY"
      },
      "shippingOptions": [
        {
          "optionType": "DOMESTIC",
          "costType": "FLAT_RATE",
          "shippingServices": [
            {
              "shippingCarrierCode": "USPS",
              "shippingServiceCode": "US_eBayStandardEnvelope",
              "freeShipping": true
            }
          ]
        }
      ],
      "localPickup": false
    }

     

    but I keep getting this error:

    {
      "errors": [
        {
          "errorId": 20403,
          "domain": "API_ACCOUNT",
          "category": "REQUEST",
          "message": "Invalid .",
          "longMessage": "Please select a valid shipping service.",
          "inputRefIds": [
            "service"
          ],
          "parameters": [
            {
              "name": "XPATH",
              "value": "DomesticItemShippingService[0].shippingService"
            }
          ]
        }
      ]
    }

     

    I added "localPickup" because I saw some post mentioning they added it and it worked for them. I tried changing handlingTime to 3 because in the GeteBayDetails call it says handling times are between 3 and 6 and nothing is working.

     

    In API Explorer, doing a getShippingServices returned:

        {
          "description": "eBay Standard Envelope for eligible items up to $20",
          "internationalService": false,
          "shippingCarrier": "EBAY_SEND",
          "shippingService": "US_eBayStandardEnvelope",
          "maxShippingTime": 6,
          "minShippingTime": 3,
          "shippingCategory": "STANDARD",
          "validForSellingFlow": true,
          "shippingCostTypes": [
            "CALCULATED",
            "FLAT"
          ],
          "packageLimits": {
            "maxWeight": 3,
            "minWeight": 0,
            "weightUnit": "OUNCE",
            "maxLength": 11.5,
            "maxWidth": 6.13,
            "maxHeight": 1,
            "dimensionUnit": "INCH"
          },
          "shipToLocations": [
            {
              "description": "United States",
              "shippingLocation": "US"
            }
          ]
        }

    so I tried changing to EBAY_SEND as well and same service error.

    In getShippingCarriers, I get:

        {
          "description": "eBay Standard Delivery",
          "shippingCarrier": "eBay Standard Delivery"
        }

    so I tried eBay Standard Delivery as well and same issue.

     

    I also tried calling GeteBayDetails with DetailName=ShippingCarrierDetails and eBay's Standard Envelope is not even mentioned there.

     

    I feel like at this point I tried the example from the API docs and different values from the GET calls and I keep getting the same error. I tried different variations of the payload and all point to the same service error. I am able to create other policies. I also did opt in (hence why I am able to create other sample fulfillment policies).

     

    Could someone help me? Thanks!

    chick3n13
    chick3n13
    375View listings
    Posted 3 months ago
                                           
             
    0 comments

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
                   
                                                                                     
    •                                                              
    •                                                              
    •