khaledkhamis / infoplus-php-client
dev-beta
2021-06-02 15:29 UTC
Requires
- php: >=5.5
- ext-curl: *
- ext-json: *
- ext-mbstring: *
- guzzlehttp/guzzle: ^6.2
Requires (Dev)
- friendsofphp/php-cs-fixer: ~1.12
- phpunit/phpunit: ^4.8
- squizlabs/php_codesniffer: ~2.6
This package is not auto-updated.
Last update: 2024-09-20 05:56:41 UTC
README
Infoplus API。
此PHP包是由Swagger Codegen项目自动生成的
- API版本:beta
- 构建包:io.swagger.codegen.languages.PhpClientCodegen。更多信息,请访问http://www.infopluscommerce.com
要求
PHP 5.5 及以上版本
安装与使用
Composer
要通过Composer安装绑定,请将以下内容添加到 composer.json
{
"repositories": [
{
"type": "git",
"url": "https://github.com/Infoplus/Infoplus-API.git"
}
],
"require": {
"Infoplus/Infoplus-API": "*@dev"
}
}
然后运行 composer install
手动安装
下载文件并包含 autoload.php
require_once('/path/to/Infoplus/vendor/autoload.php');
测试
要运行单元测试
composer install
./vendor/bin/phpunit
入门指南
请按照 安装过程 进行操作,然后运行以下命令
<?php require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api_key $config = Infoplus\Configuration::getDefaultConfiguration()->setApiKey('API-Key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed // $config = Infoplus\Configuration::getDefaultConfiguration()->setApiKeyPrefix('API-Key', 'Bearer'); $apiInstance = new Infoplus\Api\AisleApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); $body = new \Infoplus\Infoplus\Model\Aisle(); // \Infoplus\Infoplus\Model\Aisle | Aisle to be inserted. try { $result = $apiInstance->addAisle($body); print_r($result); } catch (Exception $e) { echo 'Exception when calling AisleApi->addAisle: ', $e->getMessage(), PHP_EOL; } ?>
API端点文档
所有URI均相对于 https://kingsrook.localhost-testsubdomain1.infopluswms.com:8443/infoplus-wms/api
模型文档
- 通道
- 警报
- ApiResponse
- ApplyOrderWarehouseFulfillmentPlanInput
- ApplyOrderWarehouseFulfillmentPlanOutput
- Asn
- BillOfLading
- BillOfLadingCarrierInfoLine
- BillOfLadingOrderInfoLine
- BillingCode
- BillingCodeActivity
- BillingCodeType
- Building
- BusinessTransaction
- Carrier
- CarrierService
- Cart
- CartLocation
- Carton
- CartonActivity
- CartonContent
- CartonType
- CustomField
- Customer
- CustomerInvoiceTemplate
- CustomerInvoiceTemplateLine
- DynamicKitComponentLine
- EDIDocumentType
- EdiDocument
- EditLineItemFulfillmentStrategyInputAPIModel
- EmailTemplate
- ExecuteJobInputAPIModel
- ExecuteQuickAdjustmentInputAPIModel
- ExecuteQuickReceiptInputAPIModel
- ExternalShipment
- ExternalShippingSystem
- FinanceSystemConnection
- FinanceSystemConnectionLog
- FulfillmentLayoutPosition
- FulfillmentPlan
- FulfillmentProcess
- FulfillmentProcessLog
- FulfillmentProcessPickBatchGroup
- GetOrderPackDataInput
- GetOrderPackDataOutput
- GetOrderWarehouseFulfillmentDataInput
- GetOrderWarehouseFulfillmentDataOutput
- Gs1128Label
- Gs1128Template
- IntegrationPartner
- InventoryAdjustment
- InventoryDetail
- InventorySnapshot
- InventoryStorageActivity
- InvoiceTemplateLinePriceLevel
- InvoiceWorksheet
- InvoiceWorksheetLine
- InvoiceWorksheetLineDetail
- Item
- ItemAccountCode
- ItemActivity
- ItemActivityType
- ItemBuyer
- ItemCategory
- ItemLowstockCode
- ItemProductCode
- ItemReceipt
- ItemReceiptActivity
- ItemSector
- ItemSerial
- ItemSerialScheme
- ItemSubCategory
- ItemSummaryCode
- Job
- JobInput
- JobOutput
- JobRecipe
- JobRecipeInput
- JobRecipeOutput
- JobRecipeStep
- JobStep
- JobTime
- JobTimeActivity
- JobType
- Kit
- KitComponent
- LegacyLowstockContact
- LineOfBusiness
- Load
- LoadContent
- Location
- LocationAddressScheme
- LocationBillingType
- LocationFootprint
- LoggedTime
- LoggedTimeType
- LowStock
- ManageScheduledPlans
- NonBusinessDay
- OmsOrder
- Order
- OrderActivity
- OrderExtraLineItemData
- 订单额外订单数据
- 订单发票模板行项目描述枚举
- 订单行
- 订单行活动
- 订单行项目
- 订单装载程序
- 订单来源
- 订单来源项目设置
- 订单来源预订
- 订单来源库存状态
- 订单仓库履行计划
- 订单仓库履行计划明细
- 订单仓库履行原始数据
- 订单仓库履行原始SKU数据
- 覆盖履行收据
- 覆盖退货地址
- 包装纸箱
- 包装项目
- 包装主纸箱
- 包装托盘
- 包装明细
- 包装计划
- 包装计划明细
- 包装单模板行额外数据枚举
- 包装单模板行项目描述枚举
- 托盘类型
- 包裹账户
- 包裹发票
- 包裹发票行
- 永续库存日志
- 拣货面分配
- 预定义纸箱
- 过程输出API模型
- 产品类型
- 生产批号
- 生产型号
- 快速调整
- 快速收货
- 收货过程
- 收货工作表
- 收货工作表行项目
- 收货工作表上架计划
- 记录文件
- 补货
- 补货计划
- 补货过程
- 手动替换输入API模型请求
- 请求包裹附件数据
- 运行履行计划输入API模型
- 计划日志
- 服务类型
- 装运
- 购物车连接
- 标准工作日
- 商店
- 替换
- 补充
- 第三方包裹账户
- 用户
- 供应商
- 供应商合规调查
- 仓库
- 仓库文件
- 仓库文件类型
- 仓库服务类型
- 工作
- 工作活动
- 工作批量
- 工作产品
- 区域
授权文档
api_key
- 类型: API密钥
- API密钥参数名称: API-Key
- 位置: HTTP头