question

$$anonymous$$ avatar image
0 Likes"
$$anonymous$$ Suspended asked

C# item.Storefront

I am working with an item object called 'item'. I would like to use the store name, store url and store category ID as found in the "manage categories" area of in this case stores.sandbox.ebay.com. My environment is C# .NET. At first I thought I could do something like this:

 

 

                        item.Storefront = new StorefrontType();

                        item.Storefront.StoreName = "mysandboxstorename";

                        item.Storefront.StoreURL = "http://mysandboxstoreurl.com/";

                        item.Storefront.StoreCategoryID = 999999;

 

I am finding that the item is added to my eBay sandbox however I do not see it in my sandbox store at all. It does not show up under any store categories. Also if I revise the item manually and set it to be listed under one of my valid store categories and I navigate back to my sandboxed store I still do not see my item. I am wondering what is going on. Is this code not going to function for some reason? Is this perhaps a sandboxing issue?

 

Thanks in advance...

categoryitemstore
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.

devanathan.developersupport@ebay.com avatar image
0 Likes"
devanathan.developersupport@ebay.com answered

Hi esepich,

 

Do you have a store setup in sandbox? Do you have custom store categories set up in that? I believe that '999999' is not  a valid  store category ID?

If you could share more information on this we'll take a look.

 

Best Regards,
Devanathan Sampath
eBay Developer Support

 

· 3
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.

Those are just fillers. I had plucked out the category number which is actually 461819 which I copy pasted out of the store manager. Sometimes I have to use some psuedo code.

0 Likes 0 ·

Since my original post I have made sure to set the code to the following:

 

 

                        item.Storefront = new StorefrontType();
                        item.CategoryMappingAllowed = true;
                        item.Storefront.StoreCategoryID = 461819;
 
When I edit my item under My eBay -> Selling I do see that the store category is set to "poolab" as I have written the code. When I visit my store url:
 

http://stores.shop.sandbox.ebay.com/testuser-sepoto
 
I do see the item(s) there as well. I do not see an image though. My item was loaded with 12 images but for some reason when I visit the store URL I see only an "image not available". How can I set one of my images to display at the store URL?
 
As well when I go to "Manage my store" at sandbox.ebay.com the store manager says that there are no products loaded however I do see two items as I visit
 
http://stores.shop.sandbox.ebay.com/testuser-sepoto
 
so there must be something going on with the sandbox store manager.

 

0 Likes 0 ·

I also have a question about this code here:

 

 

                        xpath1 = sam.UploadPictures((path + "\\" + fileName), zURI, zToken, zDevID, zAppId, zCertID);
 
                        //To specify a Gallery Image 
                        item.PictureDetails = new PictureDetailsType();
                        //The first picture is used for Gallery URL 
                        item.PictureDetails.GalleryType = GalleryTypeCodeType.Gallery; 
 
                        item.PictureDetails.PictureURL.Add(xpath1);
 
I see is meant to specify the first image as a "Gallary Image" but I am not understanding what exactly that means? What would be the difference between a regular image and a gallary image?

0 Likes 0 ·
$$anonymous$$ avatar image
0 Likes"
$$anonymous$$ Suspended answered

This is my SOAP:

 

 

<?xml version="1.0" encoding="utf-8"?>

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

  <soap:Header>

    <RequesterCredentials xmlns="urn:ebay:apis:eBLBaseComponents">

      <eBayAuthToken>******</eBayAuthToken>

    </RequesterCredentials>

  </soap:Header>

  <soap:Body>

    <AddFixedPriceItemRequest xmlns="urn:ebay:apis:eBLBaseComponents">

      <MessageID>2e8cc35c-b6e4-4d7b-ab3a-cc63cbafb6f6</MessageID>

      <Version>787</Version>

      <Item>

        <CategoryMappingAllowed>true</CategoryMappingAllowed>

        <Country>US</Country>

        <Currency>USD</Currency>

        <Description> Men's GX ACE II Black Diamonds Watch Black Metal 2.9ct;Beautiful full black watch with 48mm bazel;Metal: Stainless steel with Black PVD Finish;Chronograph, Quartz Japan Movement;Illusion and CZ Dial.;Water Resistant 30m;Comes in Original box with 2 extra bands.;Retail Price $1,995.00;Ships within 24 hours of cleared payment, signature required on delivery.;COMES IN BEAUTIFUL GIFT BOX;YOUR SATISFACTION IS OUR FIRST PRIORITY, PLEASE SEE OUR NO HASSLE RETURN POLICY BELOW.;</Description>

        <ListingDuration>GTC</ListingDuration>

        <ListingType>FixedPriceItem</ListingType>

        <Location>91320</Location>

        <PaymentMethods>PayPal</PaymentMethods>

        <PayPalEmailAddress>me@ebay.com</PayPalEmailAddress>

        <PrimaryCategory>

          <CategoryID>67726</CategoryID>

        </PrimaryCategory>

        <Quantity>1</Quantity>

        <ShippingDetails>

          <ApplyShippingDiscount>true</ApplyShippingDiscount>

          <PaymentInstructions>USPS Priority Mail shipping.</PaymentInstructions>

          <ShippingServiceOptions>

            <ShippingInsuranceCost currencyID="USD">0</ShippingInsuranceCost>

            <ShippingService>USPSPriority</ShippingService>

            <ShippingServiceCost currencyID="USD">20.15</ShippingServiceCost>

            <ShippingServiceAdditionalCost currencyID="USD">0</ShippingServiceAdditionalCost>

            <ShippingServicePriority>1</ShippingServicePriority>

          </ShippingServiceOptions>

          <ShippingType>Flat</ShippingType>

        </ShippingDetails>

        <StartPrice currencyID="USD">599.1</StartPrice>

        <Storefront>

          <StoreCategoryID>461819</StoreCategoryID>

          <StoreCategory2ID>0</StoreCategory2ID>

        </Storefront>

        <Title>Black Diamond Watch Mens ACE II GX 2.9ct 48mm Black PVD Stainless New Style</Title>

        <SKU>ANF-130717507701</SKU>

        <PictureDetails>

          <PictureURL>http://i.ebayimg.sandbox.ebay.com/00/s/MjUwWDI1MA==/$(KGrHqZHJEEE+WkrILbOBQYoFu5E0Q~~60_1.JPG?set_id=8800004005</PictureURL>

          <PictureURL>http://i.ebayimg.sandbox.ebay.com/00/s/MjUwWDI1MA==/$(KGrHqJHJEsFBedv,q9dBQYoFvTR+!~~60_1.JPG?set_id=8800004005</PictureURL>

          <PictureURL>http://i.ebayimg.sandbox.ebay.com/00/s/MjUwWDI1MA==/$(KGrHqNHJ!sE+Nif0(JLBQYoFwRrIQ~~60_1.JPG?set_id=8800004005</PictureURL>

          <PictureURL>http://i.ebayimg.sandbox.ebay.com/00/s/MjUwWDI1MA==/$(KGrHqNHJEQF!dQ4YBcdBQYoFw)RBg~~60_1.JPG?set_id=8800004005</PictureURL>

          <PictureURL>http://i.ebayimg.sandbox.ebay.com/00/s/MjUwWDI1MA==/$(KGrHqJHJCQFBTBwKyw1BQYoF)PJoQ~~60_1.JPG?set_id=8800004005</PictureURL>

          <PictureURL>http://i.ebayimg.sandbox.ebay.com/00/s/MjUwWDI1MA==/$(KGrHqNHJDME+V!9eupPBQYoF)tZvQ~~60_1.JPG?set_id=8800004005</PictureURL>

          <PictureURL>http://i.ebayimg.sandbox.ebay.com/00/s/MjUwWDI1MA==/$(KGrHqZHJEUFBggwK(kmBQYoFyPi!!~~60_1.JPG?set_id=8800004005</PictureURL>

          <PictureURL>http://i.ebayimg.sandbox.ebay.com/00/s/MjUwWDI1MA==/$(KGrHqVHJC8E+WwjKDdoBQYoFyoFgg~~60_1.JPG?set_id=8800004005</PictureURL>

          <PictureURL>http://i.ebayimg.sandbox.ebay.com/00/s/MjUwWDI1MA==/$(KGrHqNHJB8F!jcB3oF2BQYoFzKmyg~~60_1.JPG?set_id=8800004005</PictureURL>

          <PictureURL>http://i.ebayimg.sandbox.ebay.com/00/s/MjUwWDI1MA==/$(KGrHqNHJDEFBN74B5gkBQYoFzmRDw~~60_1.JPG?set_id=8800004005</PictureURL>

          <PictureURL>http://i.ebayimg.sandbox.ebay.com/00/s/MjUwWDI1MA==/$(KGrHqRHJFcE+e!lCRcEBQYoF0!-E!~~60_1.JPG?set_id=8800004005</PictureURL>

          <PictureURL>http://i.ebayimg.sandbox.ebay.com/00/s/MjUwWDI1MA==/$(KGrHqFHJBsF!kBbQEoiBQYoF0blg!~~60_1.JPG?set_id=8800004005</PictureURL>

        </PictureDetails>

        <DispatchTimeMax>1</DispatchTimeMax>

        <ItemSpecifics>

          <NameValueList>

            <Name>Type</Name>

            <Value>Luxury Watch</Value>

          </NameValueList>

          <NameValueList>

            <Name>Brand</Name>

            <Value>Joe Rodeo</Value>

          </NameValueList>

          <NameValueList>

            <Name>Measurements</Name>

            <Value>52mm</Value>

          </NameValueList>

          <NameValueList>

            <Name>Stone Type</Name>

            <Value>Diamond</Value>

          </NameValueList>

          <NameValueList>

            <Name>Carat</Name>

            <Value>3ct</Value>

          </NameValueList>

          <NameValueList>

            <Name>Stone Shape</Name>

            <Value>round</Value>

          </NameValueList>

          <NameValueList>

            <Name>Stone Color</Name>

            <Value>black</Value>

          </NameValueList>

          <NameValueList>

            <Name>Metal Type</Name>

            <Value>Stanless Steel</Value>

          </NameValueList>

          <NameValueList>

            <Name>Retail Price</Name>

            <Value>1995</Value>

          </NameValueList>

        </ItemSpecifics>

        <ReturnPolicy>

          <ReturnsWithin>Days_14</ReturnsWithin>

          <ReturnsAcceptedOption>ReturnsAccepted</ReturnsAcceptedOption>

          <Description>Returns accepted within 14 days of purchase. Goods must be in same condition as sold. Returns will not be accepted for items that have been Sized or Altered in any form of way. Please contact us to get a return authorization number before shipping. Following restocking fees will be assessed to cover shipping and administrative expense: Items upto $100 restocking fee $15 items from $100 to $300 restocking fee $20 items from $300 to $500 restocking fee $35 items from $500 to $1000 restocking fee $50 items from $1000 and up restocking fee $75</Description>

        </ReturnPolicy>

        <InventoryTrackingMethod>SKU</InventoryTrackingMethod>

        <ConditionID>3000</ConditionID>

      </Item>

    </AddFixedPriceItemRequest>

  </soap:Body>

</soap:Envelope>

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.

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.