Code Monkey home page Code Monkey logo

Comments (5)

utsav avatar utsav commented on July 22, 2024

Ok, I solved. just set unbound from true to false here

from ebay-sdk-examples.

davidtsadler avatar davidtsadler commented on July 22, 2024

There is no need to edit the code. You will need to set it back to 'true'. The CustomCategory field is known in the API as a repeatable field. This means that more than one value can be assigned to it. The SDK treats repeatable fields as arrays.

You can therefore assign values as follows.

$storeCustomCategory->CustomCategory[] = $storeCustomCategoryType;

To be honest this is not explained in the SDK's docs or code.

You may also need to change $requests->StoreCategories = $StoreCategories; to $requests->StoreCategories = $storeCustomCategory; as the StoreCategories field is not repeatable and can only take one value.

from ebay-sdk-examples.

utsav avatar utsav commented on July 22, 2024

i'm set unbound to true tryout about what you give and it work perfectly.
Thank You @davidtsadler .

from ebay-sdk-examples.

davidtsadler avatar davidtsadler commented on July 22, 2024

I've created some gists that show how to use the SDK using the examples from the API docs.

Add eBay store category
Delete eBay store category
Move eBay store category
Move eBay store category to top
Rename eBay store category

from ebay-sdk-examples.

utsav avatar utsav commented on July 22, 2024

i think you have to add this to this repo in trading section.
but appreciate for your support. thank you.

from ebay-sdk-examples.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.