Skip to content

API2Cart SDK for swift makes it easy to interact with API2Cart API from your swift application and build a robust integration with eCommerce platforms

Notifications You must be signed in to change notification settings

api2cart/swift5-sdk

Repository files navigation

Swift5 API client for OpenAPIClient

API2Cart

Overview

This API client was generated by the OpenAPI Generator project. By using the openapi-spec from a remote server, you can easily generate an API client.

  • API version: 1.1
  • Package version:
  • Generator version: 7.11.0
  • Build package: org.openapitools.codegen.languages.Swift5ClientCodegen

Installation

Carthage

Run carthage update

CocoaPods

Run pod install

Documentation for API Endpoints

All URIs are relative to https://api.api2cart.com/v1.1

Class Method HTTP request Description
AccountAPI accountCartAdd POST /account.cart.add.json account.cart.add
AccountAPI accountCartList GET /account.cart.list.json account.cart.list
AccountAPI accountConfigUpdate PUT /account.config.update.json account.config.update
AccountAPI accountFailedWebhooks GET /account.failed_webhooks.json account.failed_webhooks
AccountAPI accountSupportedPlatforms GET /account.supported_platforms.json account.supported_platforms
AttributeAPI attributeAdd POST /attribute.add.json attribute.add
AttributeAPI attributeAssignGroup POST /attribute.assign.group.json attribute.assign.group
AttributeAPI attributeAssignSet POST /attribute.assign.set.json attribute.assign.set
AttributeAPI attributeAttributesetList GET /attribute.attributeset.list.json attribute.attributeset.list
AttributeAPI attributeCount GET /attribute.count.json attribute.count
AttributeAPI attributeDelete DELETE /attribute.delete.json attribute.delete
AttributeAPI attributeGroupList GET /attribute.group.list.json attribute.group.list
AttributeAPI attributeInfo GET /attribute.info.json attribute.info
AttributeAPI attributeList GET /attribute.list.json attribute.list
AttributeAPI attributeTypeList GET /attribute.type.list.json attribute.type.list
AttributeAPI attributeUnassignGroup POST /attribute.unassign.group.json attribute.unassign.group
AttributeAPI attributeUnassignSet POST /attribute.unassign.set.json attribute.unassign.set
AttributeAPI attributeUpdate PUT /attribute.update.json attribute.update
AttributeAPI attributeValueAdd POST /attribute.value.add.json attribute.value.add
AttributeAPI attributeValueDelete DELETE /attribute.value.delete.json attribute.value.delete
AttributeAPI attributeValueUpdate PUT /attribute.value.update.json attribute.value.update
BasketAPI basketInfo GET /basket.info.json basket.info
BasketAPI basketItemAdd POST /basket.item.add.json basket.item.add
BasketAPI basketLiveShippingServiceCreate POST /basket.live_shipping_service.create.json basket.live_shipping_service.create
BasketAPI basketLiveShippingServiceDelete DELETE /basket.live_shipping_service.delete.json basket.live_shipping_service.delete
BasketAPI basketLiveShippingServiceList GET /basket.live_shipping_service.list.json basket.live_shipping_service.list
BatchAPI batchJobList GET /batch.job.list.json batch.job.list
BatchAPI batchJobResult GET /batch.job.result.json batch.job.result
BridgeAPI bridgeDelete POST /bridge.delete.json bridge.delete
BridgeAPI bridgeDownload GET /bridge.download.file bridge.download
BridgeAPI bridgeUpdate POST /bridge.update.json bridge.update
CartAPI cartBridge GET /cart.bridge.json cart.bridge
CartAPI cartCatalogPriceRulesCount GET /cart.catalog_price_rules.count.json cart.catalog_price_rules.count
CartAPI cartCatalogPriceRulesList GET /cart.catalog_price_rules.list.json cart.catalog_price_rules.list
CartAPI cartClearCache POST /cart.clear_cache.json cart.clear_cache
CartAPI cartConfig GET /cart.config.json cart.config
CartAPI cartConfigUpdate PUT /cart.config.update.json cart.config.update
CartAPI cartCouponAdd POST /cart.coupon.add.json cart.coupon.add
CartAPI cartCouponConditionAdd POST /cart.coupon.condition.add.json cart.coupon.condition.add
CartAPI cartCouponCount GET /cart.coupon.count.json cart.coupon.count
CartAPI cartCouponDelete DELETE /cart.coupon.delete.json cart.coupon.delete
CartAPI cartCouponList GET /cart.coupon.list.json cart.coupon.list
CartAPI cartCreate POST /cart.create.json cart.create
CartAPI cartDelete DELETE /cart.delete.json cart.delete
CartAPI cartDisconnect GET /cart.disconnect.json cart.disconnect
CartAPI cartGiftcardAdd POST /cart.giftcard.add.json cart.giftcard.add
CartAPI cartGiftcardCount GET /cart.giftcard.count.json cart.giftcard.count
CartAPI cartGiftcardDelete DELETE /cart.giftcard.delete.json cart.giftcard.delete
CartAPI cartGiftcardList GET /cart.giftcard.list.json cart.giftcard.list
CartAPI cartInfo GET /cart.info.json cart.info
CartAPI cartList GET /cart.list.json cart.list
CartAPI cartMetaDataList GET /cart.meta_data.list.json cart.meta_data.list
CartAPI cartMetaDataSet POST /cart.meta_data.set.json cart.meta_data.set
CartAPI cartMetaDataUnset DELETE /cart.meta_data.unset.json cart.meta_data.unset
CartAPI cartMethods GET /cart.methods.json cart.methods
CartAPI cartPluginList GET /cart.plugin.list.json cart.plugin.list
CartAPI cartScriptAdd POST /cart.script.add.json cart.script.add
CartAPI cartScriptDelete DELETE /cart.script.delete.json cart.script.delete
CartAPI cartScriptList GET /cart.script.list.json cart.script.list
CartAPI cartShippingZonesList GET /cart.shipping_zones.list.json cart.shipping_zones.list
CartAPI cartValidate GET /cart.validate.json cart.validate
CategoryAPI categoryAdd POST /category.add.json category.add
CategoryAPI categoryAddBatch POST /category.add.batch.json category.add.batch
CategoryAPI categoryAssign POST /category.assign.json category.assign
CategoryAPI categoryCount GET /category.count.json category.count
CategoryAPI categoryDelete DELETE /category.delete.json category.delete
CategoryAPI categoryFind GET /category.find.json category.find
CategoryAPI categoryImageAdd POST /category.image.add.json category.image.add
CategoryAPI categoryImageDelete DELETE /category.image.delete.json category.image.delete
CategoryAPI categoryInfo GET /category.info.json category.info
CategoryAPI categoryList GET /category.list.json category.list
CategoryAPI categoryUnassign POST /category.unassign.json category.unassign
CategoryAPI categoryUpdate PUT /category.update.json category.update
CustomerAPI customerAdd POST /customer.add.json customer.add
CustomerAPI customerAddressAdd POST /customer.address.add.json customer.address.add
CustomerAPI customerAttributeList GET /customer.attribute.list.json customer.attribute.list
CustomerAPI customerCount GET /customer.count.json customer.count
CustomerAPI customerDelete DELETE /customer.delete.json customer.delete
CustomerAPI customerFind GET /customer.find.json customer.find
CustomerAPI customerGroupAdd POST /customer.group.add.json customer.group.add
CustomerAPI customerGroupList GET /customer.group.list.json customer.group.list
CustomerAPI customerInfo GET /customer.info.json customer.info
CustomerAPI customerList GET /customer.list.json customer.list
CustomerAPI customerUpdate PUT /customer.update.json customer.update
CustomerAPI customerWishlistList GET /customer.wishlist.list.json customer.wishlist.list
MarketplaceAPI marketplaceProductFind GET /marketplace.product.find.json marketplace.product.find
OrderAPI orderAbandonedList GET /order.abandoned.list.json order.abandoned.list
OrderAPI orderAdd POST /order.add.json order.add
OrderAPI orderCount GET /order.count.json order.count
OrderAPI orderFinancialStatusList GET /order.financial_status.list.json order.financial_status.list
OrderAPI orderFind GET /order.find.json order.find
OrderAPI orderFulfillmentStatusList GET /order.fulfillment_status.list.json order.fulfillment_status.list
OrderAPI orderInfo GET /order.info.json order.info
OrderAPI orderList GET /order.list.json order.list
OrderAPI orderPreestimateShippingList POST /order.preestimate_shipping.list.json order.preestimate_shipping.list
OrderAPI orderRefundAdd POST /order.refund.add.json order.refund.add
OrderAPI orderReturnAdd POST /order.return.add.json order.return.add
OrderAPI orderReturnDelete DELETE /order.return.delete.json order.return.delete
OrderAPI orderReturnUpdate PUT /order.return.update.json order.return.update
OrderAPI orderShipmentAdd POST /order.shipment.add.json order.shipment.add
OrderAPI orderShipmentAddBatch POST /order.shipment.add.batch.json order.shipment.add.batch
OrderAPI orderShipmentDelete DELETE /order.shipment.delete.json order.shipment.delete
OrderAPI orderShipmentInfo GET /order.shipment.info.json order.shipment.info
OrderAPI orderShipmentList GET /order.shipment.list.json order.shipment.list
OrderAPI orderShipmentTrackingAdd POST /order.shipment.tracking.add.json order.shipment.tracking.add
OrderAPI orderShipmentUpdate PUT /order.shipment.update.json order.shipment.update
OrderAPI orderStatusList GET /order.status.list.json order.status.list
OrderAPI orderTransactionList GET /order.transaction.list.json order.transaction.list
OrderAPI orderUpdate PUT /order.update.json order.update
ProductAPI productAdd POST /product.add.json product.add
ProductAPI productAddBatch POST /product.add.batch.json product.add.batch
ProductAPI productAttributeList GET /product.attribute.list.json product.attribute.list
ProductAPI productAttributeValueSet POST /product.attribute.value.set.json product.attribute.value.set
ProductAPI productAttributeValueUnset POST /product.attribute.value.unset.json product.attribute.value.unset
ProductAPI productBrandList GET /product.brand.list.json product.brand.list
ProductAPI productChildItemFind GET /product.child_item.find.json product.child_item.find
ProductAPI productChildItemInfo GET /product.child_item.info.json product.child_item.info
ProductAPI productChildItemList GET /product.child_item.list.json product.child_item.list
ProductAPI productCount GET /product.count.json product.count
ProductAPI productCurrencyAdd POST /product.currency.add.json product.currency.add
ProductAPI productCurrencyList GET /product.currency.list.json product.currency.list
ProductAPI productDelete DELETE /product.delete.json product.delete
ProductAPI productDeleteBatch POST /product.delete.batch.json product.delete.batch
ProductAPI productFields GET /product.fields.json product.fields
ProductAPI productFind GET /product.find.json product.find
ProductAPI productImageAdd POST /product.image.add.json product.image.add
ProductAPI productImageDelete DELETE /product.image.delete.json product.image.delete
ProductAPI productImageUpdate PUT /product.image.update.json product.image.update
ProductAPI productInfo GET /product.info.json product.info
ProductAPI productList GET /product.list.json product.list
ProductAPI productManufacturerAdd POST /product.manufacturer.add.json product.manufacturer.add
ProductAPI productOptionAdd POST /product.option.add.json product.option.add
ProductAPI productOptionAssign POST /product.option.assign.json product.option.assign
ProductAPI productOptionDelete DELETE /product.option.delete.json product.option.delete
ProductAPI productOptionList GET /product.option.list.json product.option.list
ProductAPI productOptionValueAdd POST /product.option.value.add.json product.option.value.add
ProductAPI productOptionValueAssign POST /product.option.value.assign.json product.option.value.assign
ProductAPI productOptionValueDelete DELETE /product.option.value.delete.json product.option.value.delete
ProductAPI productOptionValueUpdate PUT /product.option.value.update.json product.option.value.update
ProductAPI productPriceAdd POST /product.price.add.json product.price.add
ProductAPI productPriceDelete DELETE /product.price.delete.json product.price.delete
ProductAPI productPriceUpdate PUT /product.price.update.json product.price.update
ProductAPI productReviewList GET /product.review.list.json product.review.list
ProductAPI productStoreAssign POST /product.store.assign.json product.store.assign
ProductAPI productTaxAdd POST /product.tax.add.json product.tax.add
ProductAPI productUpdate PUT /product.update.json product.update
ProductAPI productUpdateBatch POST /product.update.batch.json product.update.batch
ProductAPI productVariantAdd POST /product.variant.add.json product.variant.add
ProductAPI productVariantAddBatch POST /product.variant.add.batch.json product.variant.add.batch
ProductAPI productVariantCount GET /product.variant.count.json product.variant.count
ProductAPI productVariantDelete DELETE /product.variant.delete.json product.variant.delete
ProductAPI productVariantDeleteBatch POST /product.variant.delete.batch.json product.variant.delete.batch
ProductAPI productVariantImageAdd POST /product.variant.image.add.json product.variant.image.add
ProductAPI productVariantImageDelete DELETE /product.variant.image.delete.json product.variant.image.delete
ProductAPI productVariantInfo GET /product.variant.info.json product.variant.info
ProductAPI productVariantList GET /product.variant.list.json product.variant.list
ProductAPI productVariantPriceAdd POST /product.variant.price.add.json product.variant.price.add
ProductAPI productVariantPriceDelete DELETE /product.variant.price.delete.json product.variant.price.delete
ProductAPI productVariantPriceUpdate PUT /product.variant.price.update.json product.variant.price.update
ProductAPI productVariantUpdate PUT /product.variant.update.json product.variant.update
ProductAPI productVariantUpdateBatch POST /product.variant.update.batch.json product.variant.update.batch
ReturnAPI returnActionList GET /return.action.list.json return.action.list
ReturnAPI returnCount GET /return.count.json return.count
ReturnAPI returnInfo GET /return.info.json return.info
ReturnAPI returnList GET /return.list.json return.list
ReturnAPI returnReasonList GET /return.reason.list.json return.reason.list
ReturnAPI returnStatusList GET /return.status.list.json return.status.list
SubscriberAPI subscriberList GET /subscriber.list.json subscriber.list
TaxAPI taxClassInfo GET /tax.class.info.json tax.class.info
TaxAPI taxClassList GET /tax.class.list.json tax.class.list
WebhookAPI webhookCount GET /webhook.count.json webhook.count
WebhookAPI webhookCreate POST /webhook.create.json webhook.create
WebhookAPI webhookDelete DELETE /webhook.delete.json webhook.delete
WebhookAPI webhookEvents GET /webhook.events.json webhook.events
WebhookAPI webhookList GET /webhook.list.json webhook.list
WebhookAPI webhookUpdate PUT /webhook.update.json webhook.update

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

ApiKeyAuth

  • Type: API key
  • API key parameter name: x-api-key
  • Location: HTTP header

StoreKeyAuth

  • Type: API key
  • API key parameter name: x-store-key
  • Location: HTTP header

How do I migrate from the Swift 5 generator to the swift 6 generator?

https://openapi-generator.tech/docs/faq-generators#how-do-i-migrate-from-the-swift-5-generator-to-the-swift-6-generator

How do I implement bearer token authentication with URLSession on the Swift 5 API client?

https://openapi-generator.tech/docs/faq-generators#how-do-i-implement-bearer-token-authentication-with-urlsession-on-the-swift-5-api-client

Author

[email protected]

About

API2Cart SDK for swift makes it easy to interact with API2Cart API from your swift application and build a robust integration with eCommerce platforms

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages