diff --git a/README.md b/README.md index 773334e..67d0b4c 100644 --- a/README.md +++ b/README.md @@ -1,51 +1,2 @@ -LindgrensWares +Pokemon-go-trade =============== -Programs associated with the biz - -## How to genarate access token -Navigate: https://auth.ebay.com/oauth2/authorize?client_id=Lindgren-Lindgren-PRD-9d8cefab8-09dae1a7&response_type=code&redirect_uri=Lindgren_s_Ware-Lindgren-Lindgr-zkwfbr&scope=https://api.ebay.com/oauth/api_scope https://api.ebay.com/oauth/api_scope/sell.marketing.readonly https://api.ebay.com/oauth/api_scope/sell.marketing https://api.ebay.com/oauth/api_scope/sell.inventory.readonly https://api.ebay.com/oauth/api_scope/sell.inventory https://api.ebay.com/oauth/api_scope/sell.account.readonly https://api.ebay.com/oauth/api_scope/sell.account https://api.ebay.com/oauth/api_scope/sell.fulfillment.readonly https://api.ebay.com/oauth/api_scope/sell.fulfillment https://api.ebay.com/oauth/api_scope/sell.analytics.readonly https://api.ebay.com/oauth/api_scope/sell.finances - -curl -X POST 'https://api.ebay.com/identity/v1/oauth2/token' -H 'Content-Type: application/x-www-form-urlencoded' -H 'Authorization: Basic TGluZGdyZW4tTGluZGdyZW4tUFJELTlkOGNlZmFiOC0wOWRhZTFhNzpQUkQtZDhjZWZhYjg3NjdiLTVjZjUtNDE4Ni05MDkwLTc4MzM=' -d 'grant_type=authorization_code&code=&redirect_uri=Lindgren_s_Ware-Lindgren-Lindgr-zkwfbr' - -source: https://stackoverflow.com/questions/44603838/ebay-oauth-token-and-refresh-tokens - -## Notes -SKU is a merchant specific number to locate a product under a merchant -API order -PUT /sell/inventory/v1/inventory_item_group/{inventoryItemGroupKey} - -POST /sell/inventory/v1/offer - -POST /sell/inventory/v1/offer/{offerId}/publish - -required data from other api's -* payment policy -* location - - -123213 - -7223809010 - -37967344010 - -{merchantLocationKey} - -{ - "name": "minimal Payment Policy", - "marketplaceId": "EBAY_US", - "categoryTypes": [ - { - "name": "ALL_EXCLUDING_MOTORS_VEHICLES", - "default": true - } - ], - "paymentMethods": [ - { - "paymentMethodType": "PERSONAL_CHECK" - } - ], - "immediatePay": false, - "paymentPolicyId": "6064309000", - "warnings": [] -} \ No newline at end of file