Skip to content
This repository has been archived by the owner on Feb 25, 2020. It is now read-only.

Latest commit

 

History

History
102 lines (59 loc) · 5.96 KB

README.md

File metadata and controls

102 lines (59 loc) · 5.96 KB

Trading Examples

These examples show how to use the eBay SDK for PHP with the Trading service.

  1. Get eBay official time

    A basic example that retrieves the official eBay system time in GMT. This is a good way of testing your production eBay authorization tokens as the call does not modify any user data.

  2. Get category hierarchy

    Shows how to retrieve the category hierarchy for a site. More information can be found in the official eBay documentation.

  3. Add auction item

    An example that lists an auction item to the eBay sandbox. It shows how to do the following when listing an item.

    • Specify the correct listing type.
    • Set the starting price.
    • Describe the item.
    • Include a picture that will appear in the eBay gallery.
    • Specify what eBay category the item will be listed in.
    • State what payment methods are accepted.
    • Specify both domestic and international shipping options.
    • State what the return policy is.

    This example does not show all the features that are available to sellers when listing. Other examples will instead focus on particular features.

  4. Add fixed price item

    An example that lists a fixed price item to the eBay sandbox. It shows how to do the following when listing an item.

    • Specify the correct listing type.
    • Set the item price.
    • Accept best offers.
    • Describe the item.
    • Include a picture that will appear in the eBay gallery.
    • Specify what eBay category the item will be listed in.
    • State what payment methods are accepted.
    • Specify both domestic and international shipping options.
    • State what the return policy is.

    This example does not show all the features that are available to sellers when listing. Other examples will instead focus on particular features.

  5. Add an item with item specifics

    Shows how to specify item specifics when adding an item.

  6. Add an item with multiple variations

    Shows how to specify multiple variations when adding an item.

  7. Add an item with parts compatibility

    Shows how to specify parts compatibility when adding an item.

  8. Upload picture to eBay picture service

    A simple example that shows how to upload a picture to the eBay picture service sandbox.

  9. Download category item specifics

    An example that downloads all the category item specifics for a site. What is particularly interesting about this example is that it requires the use of the File Transfer SDK.

  10. Add fixed price item calculated shipping

    An example that lists a fixed item with calculated shipping to the eBay sandbox.

  11. Get my eBay selling

    An example that shows how to use the GetMyeBaySelling operation to return a list of actively selling items.

  12. Verify Add fixed price item

    An example that first verifys a fixed price item before listing it to the eBay sandbox.

  13. Get Store

    A simple example that returns basic information about a store and any custom categories that belongs to it.

  14. Add eBay store category, Delete eBay store category, Move eBay store category, Move eBay store category to top, Rename eBay store category

    Taken from the eBay examples that show how to manage your eBay store categories.

  15. Revise item

    Shows how to revise an item.

  16. End item

    Shows how to end an item.

  17. End items

    Shows how to end several items in one operation.

  18. Get feedback

    Shows how to obtain feedback records.

  19. Add Items

    Shows how to use add items.