springimport / swagger-magento2-client
Rest API client for Magento 2 generated by swagger-codegen.
Installs: 28 641
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 3
Forks: 2
Open Issues: 0
Requires
- php: >=5.4
- ext-curl: *
- ext-json: *
- ext-mbstring: *
Requires (Dev)
- friendsofphp/php-cs-fixer: ~1.12
- phpunit/phpunit: ~4.8
- satooshi/php-coveralls: ~1.0
- squizlabs/php_codesniffer: ~2.6
This package is auto-updated.
Last update: 2025-01-10 06:24:42 UTC
README
This PHP package is automatically generated by the Swagger Codegen project:
- API version: 2.1
- Build package: io.swagger.codegen.languages.PhpClientCodegen
Requirements
PHP 5.4.0 and later
Installation & Usage
Composer
To install the bindings via Composer, add the following to composer.json
:
{
"require": {
"springimport/swagger-magento2-client": "*@dev"
}
}
Then run composer install
Manual Installation
Download the files and include autoload.php
:
require_once('/path/to/SwaggerClient-php/autoload.php');
Tests
To run the unit tests:
composer install
./vendor/bin/phpunit
Getting Started
Please follow the installation procedure and then run the following:
<?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new SpringImport\Swagger\Magento2\Client\Api\BackendModuleServiceV1Api(); try { $result = $api_instance->backendModuleServiceV1GetModulesGet(); print_r($result); } catch (Exception $e) { echo 'Exception when calling BackendModuleServiceV1Api->backendModuleServiceV1GetModulesGet: ', $e->getMessage(), PHP_EOL; } ?>
Documentation for API Endpoints
All URIs are relative to http://example.com/rest/default
Documentation For Models
- Body
- Body1
- Body10
- Body100
- Body101
- Body102
- Body103
- Body104
- Body105
- Body106
- Body107
- Body108
- Body109
- Body11
- Body110
- Body111
- Body112
- Body113
- Body114
- Body115
- Body116
- Body117
- Body118
- Body119
- Body12
- Body120
- Body121
- Body122
- Body123
- Body124
- Body125
- Body126
- Body127
- Body128
- Body129
- Body13
- Body130
- Body131
- Body132
- Body133
- Body134
- Body135
- Body136
- Body137
- Body138
- Body14
- Body15
- Body16
- Body17
- Body18
- Body19
- Body2
- Body20
- Body21
- Body22
- Body23
- Body24
- Body25
- Body26
- Body27
- Body28
- Body29
- Body3
- Body30
- Body31
- Body32
- Body33
- Body34
- Body35
- Body36
- Body37
- Body38
- Body39
- Body4
- Body40
- Body41
- Body42
- Body43
- Body44
- Body45
- Body46
- Body47
- Body48
- Body49
- Body5
- Body50
- Body51
- Body52
- Body53
- Body54
- Body55
- Body56
- Body57
- Body58
- Body59
- Body6
- Body60
- Body61
- Body62
- Body63
- Body64
- Body65
- Body66
- Body67
- Body68
- Body69
- Body7
- Body70
- Body71
- Body72
- Body73
- Body74
- Body75
- Body76
- Body77
- Body78
- Body79
- Body8
- Body80
- Body81
- Body82
- Body83
- Body84
- Body85
- Body86
- Body87
- Body88
- Body89
- Body9
- Body90
- Body91
- Body92
- Body93
- Body94
- Body95
- Body96
- Body97
- Body98
- Body99
- BundleDataBundleOptionExtensionInterface
- BundleDataBundleOptionInterface
- BundleDataLinkExtensionInterface
- BundleDataLinkInterface
- BundleDataOptionExtensionInterface
- BundleDataOptionInterface
- BundleDataOptionTypeExtensionInterface
- BundleDataOptionTypeInterface
- CatalogDataCategoryAttributeInterface
- CatalogDataCategoryAttributeSearchResultsInterface
- CatalogDataCategoryExtensionInterface
- CatalogDataCategoryInterface
- CatalogDataCategoryProductLinkExtensionInterface
- CatalogDataCategoryProductLinkInterface
- CatalogDataCategoryTreeInterface
- CatalogDataCustomOptionExtensionInterface
- CatalogDataCustomOptionInterface
- CatalogDataEavAttributeExtensionInterface
- CatalogDataProductAttributeInterface
- CatalogDataProductAttributeMediaGalleryEntryExtensionInterface
- CatalogDataProductAttributeMediaGalleryEntryInterface
- CatalogDataProductAttributeSearchResultsInterface
- CatalogDataProductAttributeTypeExtensionInterface
- CatalogDataProductAttributeTypeInterface
- CatalogDataProductCustomOptionExtensionInterface
- CatalogDataProductCustomOptionInterface
- CatalogDataProductCustomOptionTypeExtensionInterface
- CatalogDataProductCustomOptionTypeInterface
- CatalogDataProductCustomOptionValuesInterface
- CatalogDataProductExtensionInterface
- CatalogDataProductInterface
- CatalogDataProductLinkAttributeExtensionInterface
- CatalogDataProductLinkAttributeInterface
- CatalogDataProductLinkExtensionInterface
- CatalogDataProductLinkInterface
- CatalogDataProductLinkTypeExtensionInterface
- CatalogDataProductLinkTypeInterface
- CatalogDataProductOptionExtensionInterface
- CatalogDataProductOptionInterface
- CatalogDataProductSearchResultsInterface
- CatalogDataProductTierPriceExtensionInterface
- CatalogDataProductTierPriceInterface
- CatalogDataProductTypeExtensionInterface
- CatalogDataProductTypeInterface
- CatalogDataProductWebsiteLinkInterface
- CatalogInventoryDataStockItemExtensionInterface
- CatalogInventoryDataStockItemInterface
- CatalogInventoryDataStockStatusCollectionInterface
- CatalogInventoryDataStockStatusExtensionInterface
- CatalogInventoryDataStockStatusInterface
- CatalogInventoryStockStatusCriteriaInterface
- CheckoutAgreementsDataAgreementExtensionInterface
- CheckoutAgreementsDataAgreementInterface
- CheckoutDataPaymentDetailsExtensionInterface
- CheckoutDataPaymentDetailsInterface
- CheckoutDataShippingInformationExtensionInterface
- CheckoutDataShippingInformationInterface
- CheckoutDataTotalsInformationExtensionInterface
- CheckoutDataTotalsInformationInterface
- CmsDataBlockInterface
- CmsDataBlockSearchResultsInterface
- CmsDataPageInterface
- CmsDataPageSearchResultsInterface
- ConfigurableProductDataConfigurableItemOptionValueExtensionInterface
- ConfigurableProductDataConfigurableItemOptionValueInterface
- ConfigurableProductDataOptionExtensionInterface
- ConfigurableProductDataOptionInterface
- ConfigurableProductDataOptionValueExtensionInterface
- ConfigurableProductDataOptionValueInterface
- CustomerDataAddressExtensionInterface
- CustomerDataAddressInterface
- CustomerDataAttributeMetadataInterface
- CustomerDataCustomerExtensionInterface
- CustomerDataCustomerInterface
- CustomerDataCustomerSearchResultsInterface
- CustomerDataGroupExtensionInterface
- CustomerDataGroupInterface
- CustomerDataGroupSearchResultsInterface
- CustomerDataOptionInterface
- CustomerDataRegionExtensionInterface
- CustomerDataRegionInterface
- CustomerDataValidationResultsInterface
- CustomerDataValidationRuleInterface
- DirectoryDataCountryInformationExtensionInterface
- DirectoryDataCountryInformationInterface
- DirectoryDataCurrencyInformationExtensionInterface
- DirectoryDataCurrencyInformationInterface
- DirectoryDataExchangeRateExtensionInterface
- DirectoryDataExchangeRateInterface
- DirectoryDataRegionInformationExtensionInterface
- DirectoryDataRegionInformationInterface
- DownloadableDataDownloadableOptionInterface
- DownloadableDataFileContentExtensionInterface
- DownloadableDataFileContentInterface
- DownloadableDataLinkExtensionInterface
- DownloadableDataLinkInterface
- DownloadableDataSampleExtensionInterface
- DownloadableDataSampleInterface
- EavDataAttributeFrontendLabelInterface
- EavDataAttributeGroupExtensionInterface
- EavDataAttributeGroupInterface
- EavDataAttributeGroupSearchResultsInterface
- EavDataAttributeOptionInterface
- EavDataAttributeOptionLabelInterface
- EavDataAttributeSetExtensionInterface
- EavDataAttributeSetInterface
- EavDataAttributeSetSearchResultsInterface
- EavDataAttributeValidationRuleInterface
- ErrorErrors
- ErrorErrorsItem
- ErrorParameters
- ErrorParametersItem
- ErrorResponse
- FrameworkAttributeInterface
- FrameworkCriteriaInterface
- FrameworkDataImageContentInterface
- FrameworkDataVideoContentInterface
- FrameworkFilter
- FrameworkMetadataObjectInterface
- FrameworkSearchAggregationInterface
- FrameworkSearchAggregationValueInterface
- FrameworkSearchBucketInterface
- FrameworkSearchCriteriaInterface
- FrameworkSearchDocumentInterface
- FrameworkSearchFilterGroup
- FrameworkSearchSearchCriteriaInterface
- FrameworkSearchSearchResultInterface
- FrameworkSortOrder
- GiftCardAccountDataGiftCardAccountExtensionInterface
- GiftCardAccountDataGiftCardAccountInterface
- GiftCardDataGiftCardOptionExtensionInterface
- GiftCardDataGiftCardOptionInterface
- GiftCardDataGiftcardAmountExtensionInterface
- GiftCardDataGiftcardAmountInterface
- GiftMessageDataMessageExtensionInterface
- GiftMessageDataMessageInterface
- GiftWrappingDataWrappingExtensionInterface
- GiftWrappingDataWrappingInterface
- GiftWrappingDataWrappingSearchResultsInterface
- QuoteDataAddressExtensionInterface
- QuoteDataAddressInterface
- QuoteDataCartExtensionInterface
- QuoteDataCartInterface
- QuoteDataCartItemExtensionInterface
- QuoteDataCartItemInterface
- QuoteDataCartSearchResultsInterface
- QuoteDataCurrencyExtensionInterface
- QuoteDataCurrencyInterface
- QuoteDataPaymentExtensionInterface
- QuoteDataPaymentInterface
- QuoteDataPaymentMethodInterface
- QuoteDataProductOptionExtensionInterface
- QuoteDataProductOptionInterface
- QuoteDataShippingAssignmentExtensionInterface
- QuoteDataShippingAssignmentInterface
- QuoteDataShippingExtensionInterface
- QuoteDataShippingInterface
- QuoteDataShippingMethodExtensionInterface
- QuoteDataShippingMethodInterface
- QuoteDataTotalSegmentExtensionInterface
- QuoteDataTotalSegmentInterface
- QuoteDataTotalsAdditionalDataExtensionInterface
- QuoteDataTotalsAdditionalDataInterface
- QuoteDataTotalsExtensionInterface
- QuoteDataTotalsInterface
- QuoteDataTotalsItemExtensionInterface
- QuoteDataTotalsItemInterface
- RmaDataCommentExtensionInterface
- RmaDataCommentInterface
- RmaDataCommentSearchResultInterface
- RmaDataItemExtensionInterface
- RmaDataItemInterface
- RmaDataRmaExtensionInterface
- RmaDataRmaInterface
- RmaDataRmaSearchResultInterface
- RmaDataTrackExtensionInterface
- RmaDataTrackInterface
- RmaDataTrackSearchResultInterface
- SalesDataCreditmemoCommentCreationExtensionInterface
- SalesDataCreditmemoCommentCreationInterface
- SalesDataCreditmemoCommentExtensionInterface
- SalesDataCreditmemoCommentInterface
- SalesDataCreditmemoCommentSearchResultInterface
- SalesDataCreditmemoCreationArgumentsExtensionInterface
- SalesDataCreditmemoCreationArgumentsInterface
- SalesDataCreditmemoExtensionInterface
- SalesDataCreditmemoInterface
- SalesDataCreditmemoItemCreationExtensionInterface
- SalesDataCreditmemoItemCreationInterface
- SalesDataCreditmemoItemExtensionInterface
- SalesDataCreditmemoItemInterface
- SalesDataCreditmemoSearchResultInterface
- SalesDataInvoiceCommentCreationExtensionInterface
- SalesDataInvoiceCommentCreationInterface
- SalesDataInvoiceCommentExtensionInterface
- SalesDataInvoiceCommentInterface
- SalesDataInvoiceCommentSearchResultInterface
- SalesDataInvoiceCreationArgumentsExtensionInterface
- SalesDataInvoiceCreationArgumentsInterface
- SalesDataInvoiceExtensionInterface
- SalesDataInvoiceInterface
- SalesDataInvoiceItemCreationExtensionInterface
- SalesDataInvoiceItemCreationInterface
- SalesDataInvoiceItemExtensionInterface
- SalesDataInvoiceItemInterface
- SalesDataInvoiceSearchResultInterface
- SalesDataOrderAddressExtensionInterface
- SalesDataOrderAddressInterface
- SalesDataOrderExtensionInterface
- SalesDataOrderInterface
- SalesDataOrderItemExtensionInterface
- SalesDataOrderItemInterface
- SalesDataOrderItemSearchResultInterface
- SalesDataOrderPaymentExtensionInterface
- SalesDataOrderPaymentInterface
- SalesDataOrderSearchResultInterface
- SalesDataOrderStatusHistoryExtensionInterface
- SalesDataOrderStatusHistoryInterface
- SalesDataOrderStatusHistorySearchResultInterface
- SalesDataShipmentCommentCreationExtensionInterface
- SalesDataShipmentCommentCreationInterface
- SalesDataShipmentCommentExtensionInterface
- SalesDataShipmentCommentInterface
- SalesDataShipmentCommentSearchResultInterface
- SalesDataShipmentCreationArgumentsExtensionInterface
- SalesDataShipmentCreationArgumentsInterface
- SalesDataShipmentExtensionInterface
- SalesDataShipmentInterface
- SalesDataShipmentItemCreationExtensionInterface
- SalesDataShipmentItemCreationInterface
- SalesDataShipmentItemExtensionInterface
- SalesDataShipmentItemInterface
- SalesDataShipmentPackageCreationExtensionInterface
- SalesDataShipmentPackageCreationInterface
- SalesDataShipmentPackageExtensionInterface
- SalesDataShipmentPackageInterface
- SalesDataShipmentSearchResultInterface
- SalesDataShipmentTrackCreationExtensionInterface
- SalesDataShipmentTrackCreationInterface
- SalesDataShipmentTrackExtensionInterface
- SalesDataShipmentTrackInterface
- SalesDataShippingAssignmentExtensionInterface
- SalesDataShippingAssignmentInterface
- SalesDataShippingExtensionInterface
- SalesDataShippingInterface
- SalesDataTotalExtensionInterface
- SalesDataTotalInterface
- SalesDataTransactionExtensionInterface
- SalesDataTransactionInterface
- SalesDataTransactionSearchResultInterface
- SalesRuleDataConditionExtensionInterface
- SalesRuleDataConditionInterface
- SalesRuleDataCouponExtensionInterface
- SalesRuleDataCouponGenerationSpecExtensionInterface
- SalesRuleDataCouponGenerationSpecInterface
- SalesRuleDataCouponInterface
- SalesRuleDataCouponMassDeleteResultInterface
- SalesRuleDataCouponSearchResultInterface
- SalesRuleDataRuleExtensionInterface
- SalesRuleDataRuleInterface
- SalesRuleDataRuleLabelExtensionInterface
- SalesRuleDataRuleLabelInterface
- SalesRuleDataRuleSearchResultInterface
- StoreDataGroupExtensionInterface
- StoreDataGroupInterface
- StoreDataStoreConfigExtensionInterface
- StoreDataStoreConfigInterface
- StoreDataStoreExtensionInterface
- StoreDataStoreInterface
- StoreDataWebsiteExtensionInterface
- StoreDataWebsiteInterface
- TaxDataAppliedTaxRateExtensionInterface
- TaxDataAppliedTaxRateInterface
- TaxDataGrandTotalDetailsInterface
- TaxDataGrandTotalRatesInterface
- TaxDataOrderTaxDetailsAppliedTaxExtensionInterface
- TaxDataOrderTaxDetailsAppliedTaxInterface
- TaxDataOrderTaxDetailsItemExtensionInterface
- TaxDataOrderTaxDetailsItemInterface
- TaxDataTaxClassExtensionInterface
- TaxDataTaxClassInterface
- TaxDataTaxClassSearchResultsInterface
- TaxDataTaxRateExtensionInterface
- TaxDataTaxRateInterface
- TaxDataTaxRateSearchResultsInterface
- TaxDataTaxRateTitleExtensionInterface
- TaxDataTaxRateTitleInterface
- TaxDataTaxRuleExtensionInterface
- TaxDataTaxRuleInterface
- TaxDataTaxRuleSearchResultsInterface
- VaultDataPaymentTokenInterface
Documentation For Authorization
All endpoints do not require authorization.