2017 © Pedro Peláez
 

library amzn-re-pricing-api-client-php

image

e-sagu/amzn-re-pricing-api-client-php

  • Wednesday, April 25, 2018
  • by Cacodaemon
  • Repository
  • 1 Watchers
  • 2 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

eSaguAmznRePricingAPIV1

eSagu API to reprice items on amazon., (*1)

This PHP package is automatically generated by the Swagger Codegen project:, (*2)

  • API version: 2.0.0
  • Package version: 1.0.0
  • Build package: io.swagger.codegen.languages.PhpClientCodegen

Requirements

PHP 5.4.0 and later, (*3)

Installation & Usage

Composer

To install the bindings via Composer, add the following to composer.json:, (*4)

{
  "repositories": [
    {
      "type": "git",
      "url": "https://github.com/e-sagu/amzn-re-pricing-api-client-php.git"
    }
  ],
  "require": {
    "e-sagu/amzn-re-pricing-api-client-php": "*@dev"
  }
}

Then run composer install, (*5)

Manual Installation

Download the files and include autoload.php:, (*6)

    require_once('/path/to/eSaguAmznRePricingAPIV1/autoload.php');

Tests

To run the unit tests:, (*7)

composer install
./vendor/bin/phpunit

Getting Started

Please follow the installation procedure and then run the following:, (*8)

setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// eSagu\Amzn\RePricing\V1\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$api_instance = new eSagu\Amzn\RePricing\V1\Api\RepricingBusinessPriceSettingsApi();

try {
    $result = $api_instance->callList();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling RepricingBusinessPriceSettingsApi->callList: ', $e->getMessage(), PHP_EOL;
}

?>

Documentation for API Endpoints

All URIs are relative to https://api.esagu.de/amzn/repricing/v1, (*9)

Class Method HTTP request Description
RepricingBusinessPriceSettingsApi callList GET /business-price-settings Gets all business price settings of a service.
RepricingBusinessPriceSettingsApi delete DELETE /business-price-settings/{businessPriceSettingsId} Delete a business price settings by id.
RepricingBusinessPriceSettingsApi get GET /business-price-settings/{businessPriceSettingsId} Get a business price settings specified by it's id.
RepricingBusinessPriceSettingsApi post POST /business-price-settings Adds a new business price settings.
RepricingBusinessPriceSettingsApi put PUT /business-price-settings/{businessPriceSettingsId} Edit a business price settings.
RepricingBuyBoxSettingsApi callList GET /buy-box-settings Get all user service's buy box settings.
RepricingBuyBoxSettingsApi delete DELETE /buy-box-settings/{buyBoxSettingsId} Delete buy box settings by id.
RepricingBuyBoxSettingsApi get GET /buy-box-settings/{buyBoxSettingsId} Get the buy box settings specified by it's id.
RepricingBuyBoxSettingsApi post POST /buy-box-settings Adds new buy box settings.
RepricingBuyBoxSettingsApi put PUT /buy-box-settings/{buyBoxSettingsId} Edit buy box settings by id.
RepricingBuyBoxSlotsApi callList GET /buy-box-slots Get all user service's buy box slots.
RepricingBuyBoxSlotsApi get GET /buy-box-slots/{buyBoxSlotsId} Get the buy box slots specified by it's id.
RepricingCSVImportApi callList GET /csv-import Get a list of all CSV imports.
RepricingCSVImportApi get GET /csv-import/{csvImportId} Get the specified single CSV import.
RepricingCSVImportApi post POST /csv-import Creates a new CSV import.
RepricingCSVRequestApi callList GET /csv-request Get a list of all CSV requests of a user's service.
RepricingCSVRequestApi get GET /csv-request/{csvRequestId} Get a single CSV request of a user's service specified by its id.
RepricingCSVRequestApi post POST /csv-request Creates a new CSV request for a user's service.
RepricingCSVRequestPresetApi callList GET /csv-request/preset Gets csv request presets .
RepricingCSVRequestPresetApi delete DELETE /csv-request/preset/{csvRequestPresetId} Delete a csv request preset by id.
RepricingCSVRequestPresetApi get GET /csv-request/preset/{csvRequestPresetId} Get a csv request preset specified by it's id.
RepricingCSVRequestPresetApi post POST /csv-request/preset Adds a csv request preset.
RepricingCSVRequestPresetApi put PUT /csv-request/preset/{csvRequestPresetId} Edit a csv request preset.
RepricingCustomCodeApi callList GET /custom-code Gets a custom code list.
RepricingCustomCodeApi get GET /custom-code/{customCodeId} Get the custom code specified by it's id.
RepricingExclusionCriteriaApi callList GET /exclusion-criteria Gets all exclusion criteria of a service.
RepricingExclusionCriteriaApi delete DELETE /exclusion-criteria/{exclusionCriteriaId} Delete the exclusion criteria.
RepricingExclusionCriteriaApi get GET /exclusion-criteria/{exclusionCriteriaId} Gets the exclusion criteria by id.
RepricingExclusionCriteriaApi post POST /exclusion-criteria Adds a new exclusion criteria.
RepricingExclusionCriteriaApi put PUT /exclusion-criteria/{exclusionCriteriaId} Edit the exclusion criteria.
RepricingItemApi callList GET /item Gets a list of repricing items.
RepricingItemApi get GET /item/{itemId} Get a single repricing item specified by it's id.
RepricingItemActivityApi callList GET /item/{itemId}/activity The repricing items optimization result activity as list.
RepricingItemStrategyApi get GET /item/{itemId}/strategy Gets the item's strategy settings.
RepricingItemStrategyApi put PUT /item/{itemId}/strategy Creates or updates the item's strategy settings.
RepricingOrderHistoryApi get GET /order-history Gets stats of the order history for given userService.
RepricingPriceGapsApi callList GET /price-gaps Gets all price gaps of a service.
RepricingPriceGapsApi delete DELETE /price-gaps/{priceGapsId} Delete a price gap by id.
RepricingPriceGapsApi get GET /price-gaps/{priceGapsId} Get a price gap specified by it's id.
RepricingPriceGapsApi post POST /price-gaps Adds a new price gap.
RepricingPriceGapsApi put PUT /price-gaps/{priceGapsId} Edit a price gap.
RepricingSettingsApi get GET /settings Gets the repricing settings.
RepricingSettingsApi post POST /settings Adds new repricing settings if not exists.
RepricingSettingsApi put PUT /settings Edit the repricing settings.
RepricingShippingCostsApi callList GET /shipping-costs Gets all shipping costs fo a service.
RepricingShippingCostsApi delete DELETE /shipping-costs/{shippingCostsId} Remove the repricing shipping costs by id.
RepricingShippingCostsApi get GET /shipping-costs/{shippingCostsId} Get the shipping costs specified by it's id.
RepricingShippingCostsApi post POST /shipping-costs Adds new repricing shipping costs for service.
RepricingShippingCostsApi put PUT /shipping-costs/{shippingCostsId} Edit the repricing shipping costs by id.
UserServiceMWSAccountApi get GET /mws-account Get a user service's Amazon MWS account.

Documentation For Models

Documentation For Authorization

jwt

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

Author

The Versions

25/04 2018

dev-master

9999999-dev https://www.esagu.de

  Sources   Download

proprietary

The Requires

  • php >=5.4
  • ext-curl *
  • ext-json *
  • ext-mbstring *

 

The Development Requires

api php swagger sdk