dqfan2012/sellbrite-sdk

此包已被废弃且不再维护。未建议替代包。

一个与Sellbrite API交互的PHP库

v1.0.12 2019-01-29 20:00 UTC

This package is not auto-updated.

Last update: 2020-12-31 19:18:18 UTC


README

Build Status codecov

Sellbrite SDK

这是一个PHP库,它封装了Guzzle HTTP客户端以与Sellbrite API交互。

安装

$ composer require dqfan2012/sellbrite-sdk

支持的API调用

渠道

  • GET /channels - 3个测试

库存

  • GET /inventory - 7个测试
  • PATCH /inventory - 5个测试
  • POST /inventory - 5个测试
  • PUT /inventory - 4个测试

订单

  • GET /orders - 7个测试
  • GET /orders/:sb_order_seq - 3个测试

发货

  • POST /shipments - 6个测试

仓库

  • GET /warehouses - 3个测试
  • POST /warehouses - 5个测试
  • PUT /warehouses - 6个测试
  • GET /warehouses/fulfillments/:uuid - 5个测试

产品

  • GET /products - 4个测试
  • POST /products/{sku} - 5个测试
  • DELETE /products/{sku} - 4个测试

变体组

  • GET /variation_groups - 4个测试
  • DELETE /variation_groups/{sku} - 4个测试
  • PUT /variation_groups/{sku} - 7个测试

总计 - 87个单元测试

报告问题

请将问题报告到dqfan2012@gmail或sastidham@trollandtoad.com