api2cart/api2cart-php-sdk

2.1.4 2023-12-03 16:25 UTC

This package is auto-updated.

Last update: 2024-10-03 18:17:15 UTC


README

  • API版本: 1.1

需求

PHP 5.6 及以上

安装与使用

Composer

  • composer require api2cart/api2cart-php-sdk

授权文档

api_key

  • 类型: API密钥
  • API密钥参数名: api_key
  • 位置: URL查询字符串

store_key

  • 类型: API密钥
  • API密钥参数名: store_key
  • 位置: URL查询字符串

API端点文档

所有URI均相对于 https://api.api2cart.com/v1.1

方法HTTP请求描述
AccountApiaccountCartAddPOST /account.cart.add.json
AccountApiaccountCartListGET /account.cart.list.json
AccountApiaccountConfigUpdatePUT /account.config.update.json
AccountApiaccountFailedWebhooksGET /account.failed_webhooks.json
AccountApiaccountSupportedPlatformsGET /account.supported_platforms.json
AttributeApiattributeAddPOST /attribute.add.json
AttributeApiattributeAssignGroupPOST /attribute.assign.group.json
AttributeApiattributeAssignSetPOST /attribute.assign.set.json
AttributeApiattributeAttributesetListGET /attribute.attributeset.list.json
AttributeApiattributeCountGET /attribute.count.json
AttributeApiattributeDeleteDELETE /attribute.delete.json
AttributeApiattributeGroupListGET /attribute.group.list.json
AttributeApiattributeInfoGET /attribute.info.json
AttributeApiattributeListGET /attribute.list.json
AttributeApiattributeTypeListGET /attribute.type.list.json
AttributeApiattributeUnassignGroupPOST /attribute.unassign.group.json
AttributeApiattributeUnassignSetPOST /attribute.unassign.set.json
BasketApibasketInfoGET /basket.info.json
BasketApibasketItemAddPOST /basket.item.add.json
BasketApibasketLiveShippingServiceCreatePOST /basket.live_shipping_service.create.json
BasketApibasketLiveShippingServiceDeleteDELETE /basket.live_shipping_service.delete.json
BasketApibasketLiveShippingServiceListGET /basket.live_shipping_service.list.json
BridgeApibridgeDeletePOST /bridge.delete.json
BridgeApibridgeUpdatePOST /bridge.update.json
CartApibridgeDownloadGET /bridge.download.file
CartApicartBridgeGET /cart.bridge.json
CartApicartClearCachePOST /cart.clear_cache.json
CartApicartConfigGET /cart.config.json
CartApicartConfigUpdatePUT /cart.config.update.json
CartApicartCouponAddPOST /cart.coupon.add.json
CartApicartCouponConditionAddPOST /cart.coupon.condition.add.json
CartApicartCouponCountGET /cart.coupon.count.json
CartApicartCouponDeleteDELETE /cart.coupon.delete.json
CartApicartCouponListGET /cart.coupon.list.json
CartApicartCreatePOST /cart.create.json
CartApicartDeleteDELETE /cart.delete.json
CartApicartDisconnectGET /cart.disconnect.json
CartApicartGiftcardAddPOST /cart.giftcard.add.json
CartApicartGiftcardCountGET /cart.giftcard.count.json
CartApicartGiftcardListGET /cart.giftcard.list.json
CartApicartInfoGET /cart.info.json
CartApicartListGET /cart.list.json
CartApicartMethodsGET /cart.methods.json
CartApicartPluginListGET /cart.plugin.list.json
CartApicartScriptAddPOST /cart.script.add.json
CartApicartScriptDeleteDELETE /cart.script.delete.json
CartApicartScriptListGET /cart.script.list.json
CartApicartShippingZonesListGET /cart.shipping_zones.list.json
CartApicartValidateGET /cart.validate.json
CategoryApi类别添加POST /category.add.json
CategoryApi类别分配POST /category.assign.json
CategoryApi类别数量GET /category.count.json
CategoryApi类别删除DELETE /category.delete.json
CategoryApi类别查找GET /category.find.json
CategoryApi类别图片添加POST /category.image.add.json
CategoryApi类别图片删除DELETE /category.image.delete.json
CategoryApi类别信息GET /category.info.json
CategoryApi类别列表GET /category.list.json
CategoryApi类别取消分配POST /category.unassign.json
CategoryApi类别更新PUT /category.update.json
客户API客户添加POST /customer.add.json
客户API客户数量GET /customer.count.json
客户API客户查找GET /customer.find.json
客户API客户分组添加POST /customer.group.add.json
客户API客户分组列表GET /customer.group.list.json
客户API客户信息GET /customer.info.json
客户API客户列表GET /customer.list.json
订单API已废弃订单列表GET /order.abandoned.list.json
订单API订单添加POST /order.add.json
订单API订单数量GET /order.count.json
订单API订单财务状态列表GET /order.financial_status.list.json
订单API订单查找GET /order.find.json
订单API订单信息GET /order.info.json
订单API订单列表GET /order.list.json
订单API订单退款添加POST /order.refund.add.json
订单API订单发货添加POST /order.shipment.add.json
订单API订单发货列表GET /order.shipment.list.json
订单API订单发货追踪添加POST /order.shipment.tracking.add.json
订单API订单发货更新PUT /order.shipment.update.json
订单API订单状态列表GET /order.status.list.json
订单API订单更新PUT /order.update.json
产品API产品添加POST /product.add.json
产品API产品属性列表GET /product.attribute.list.json
产品API产品属性值设置POST /product.attribute.value.set.json
产品API产品属性值取消设置POST /product.attribute.value.unset.json
产品API产品品牌列表GET /product.brand.list.json
产品API产品子项查找GET /product.child_item.find.json
产品API产品子项信息GET /product.child_item.info.json
产品API产品子项列表GET /product.child_item.list.json
产品API产品数量GET /product.count.json
产品API产品货币添加POST /product.currency.add.json
产品API产品货币列表GET /product.currency.list.json
产品API产品删除DELETE /product.delete.json
产品API产品字段GET /product.fields.json
产品API产品查找GET /product.find.json
产品API产品图片添加POST /product.image.add.json
产品API产品图片删除DELETE /product.image.delete.json
产品API产品图片更新PUT /product.image.update.json
产品API产品信息GET /product.info.json
产品API产品列表GET /product.list.json
产品API产品制造商添加POST /product.manufacturer.add.json
产品API产品选项添加POST /product.option.add.json
产品API产品选项分配POST /product.option.assign.json
产品API产品选项列表GET /product.option.list.json
产品API产品选项值添加POST /product.option.value.add.json
产品API产品选项值分配POST /product.option.value.assign.json
产品API产品选项值更新PUT /product.option.value.update.json
产品API产品价格添加POST /product.price.add.json
产品API产品价格删除DELETE /product.price.delete.json
产品API产品价格更新PUT /product.price.update.json
产品API产品评论列表GET /product.review.list.json
产品API产品店铺分配POST /product.store.assign.json
产品API产品税添加POST /product.tax.add.json
产品API产品更新PUT /product.update.json
产品API产品变体添加POST /product.variant.add.json
产品API产品变体数量GET /product.variant.count.json
产品API产品变体删除DELETE /product.variant.delete.json
产品API产品变体信息GET /product.variant.info.json
产品APIproductVariantListGET /product.variant.list.json
产品APIproductVariantPriceAddPOST /product.variant.price.add.json
产品APIproductVariantPriceDeleteDELETE /product.variant.price.delete.json
产品APIproductVariantPriceUpdatePUT /product.variant.price.update.json
产品APIproductVariantUpdatePUT /product.variant.update.json
SubscriberApisubscriberListGET /subscriber.list.json
TaxApitaxClassInfoGET /tax.class.info.json
WebhookApiwebhookCountGET /webhook.count.json
WebhookApiwebhookCreatePOST /webhook.create.json
WebhookApiwebhookDeleteDELETE /webhook.delete.json
WebhookApiwebhookEventsGET /webhook.events.json
WebhookApiwebhookListGET /webhook.list.json
WebhookApiwebhookUpdatePUT /webhook.update.json

模型文档说明

作者

contact@api2cart.com