Skip to main content

Sellix.IO API wrapper written in Python.

Project description

# Python Sellix.io API Wrapper

## Overview - [Install](README.md#Install) - [Init](README.md#Init) - [Products](README.md#Products) - [Categories](README.md#Categories) - [Orders](README.md#Orders) - [Feedback](README.md#Feedback) - [Coupons](README.md#Coupons) - [Queries](README.md#Queries) - [Blacklists](README.md#Blacklists) - [Todo](README.md#Todo)

## Install:

` pip3 install sellix-py-api-wrapper `

## Init: ` sellix_api = sellix("SELLIX TOKEN") `

## Products

### Create Products

  • Title = string, product title (required)

  • Description = string, product description (required)

  • Price = float, product price (required)

  • Gateways = string, gateways. gateways: paypal, bitcoin, ethereum, litecoin, perfectmoney, bitcoincash, skrill, paydash, lexholdingsgroup, stripe, cashapp. ex: [“paypal”, “bitcoin”] (required)

  • Discount Value = float, discount amount (required)

  • Currency = product currency. e.g USD (required)

  • Serial List = list of serials (required for serial product)

  • Delivery Text = delivery text (required)

` Serial Product: sellix_api.create_serial_product() Service Product: sellix_api.create_service_product() `

### Edit Products - Product ID = product ID (required) - Title = string, new title (not required) - Description = string, new description (not required) - Price = float, new new price (not required) - Gateways = list, list of gateways to accept ex: [“paypal”, “bitcoin”] (not required)

` sellix_api.edit_product() `

### Delete a Product - Product ID = product ID (required)

` Delete a product: sellix_api.delete_product(product_id) `

### Get Products ` Get all products: sellix_api.list_products() Get products by ID: sellix_api.get_product(product_id) `

## Categories

### Create Category - Title = category title (required) - Unlisted = not required, true/false, defaults to false - Sort Priority = int, sorted by ASC, defaults to 0 - Products Bound = list of products uniqids the category will contain

` sellix_api.create_category() `

### Edit Categories - Cat ID = category ID (required) - Title = new title (not required) - Unlisted = true/false (not required) - Sort Priority = new sort priority (not required) - Products Bound = list of products uniqids the category will contain (not required)

` sellix_api.edit_category() `

### Delete Category ` sellix_api.delete_category(category_id) `

### Get Categories ` Get all categories: sellix_api.list_categories() Get categories by ID: sellix_api.get_category(category_id) `

## Orders

### Reply to Feedback - Feedback ID = int, ID of the feedback you want to reply to (required) - Feedback Responce = string, feedback repsonce ` sellix_api.feedback_reply() `

### Get Orders ` Get all orders: sellix_api.get_orders() Get orders by ID: sellix_api.get_order(order_id) `

## Feedback

### Get Feedback ` Get all feedback: sellix_api.get_feedback() Get feedback by ID: sellix_api.get_feedback_by_id(feedback_id) `

## Coupons

### Create a Coupon - Code = string, coupon code (required) - Discount Value = float, percentage amount of the discount (required) - Max Uses = int, max coupon code uses. defaults to -d (-1 = infinte) (required) - Products Bound = list, list of product IDs the code can be used on (not required)

` sellix_api.create_coupon() `

### Edit a Coupon - Coupon ID = coupon ID - Code = string, coupon code - Discount Value = float, percentage amount of the discount - Max Uses = int, max coupon code uses (-1 = infinte) - Products Bound = list, list of product IDs the code can be used on

` sellix_api.edit_coupon() `

### Delete a Coupon - Coupon ID - ID of the coupon

` sellix_api.delete_coupon() `

### Get coupons ` Get all coupons: sellix_api.list_coupons() Get coupons by ID: sellix_api.get_coupons(coupon_id) ` ## Queries

### Reply to Query - Query ID = ID of the query you want to reply to (required) - Query Responce = string, query responce

` sellix_api.query_reply() `

### Close Query - Query ID = ID of the query you want to reply to (required)

` sellix_api.close_query() `

### Reopen Query - Query ID = ID of the query you want to reply to (required)

` sellix_api.reopen_query() `

### Get Queries ` Get all queries: sellix_api.list_queries() Get query by ID: sellix_api.get_query(query_id) `

## Blacklists

### Create a Blacklist - Blacklist type = string, blacklist type. ex: email, ip, or country - Data = string, blocked data. ex: country code, email, or an IP address - Note = string, internal note for blacklist reasons

` sellix_api.create_blacklist() `

### Edit a Blacklist - Blacklist ID = int, blacklist ID (required) - Blacklist type = string, blacklist type. ex: email, ip, country (required) - Note = string, interal note for blacklist reasons (required)

` sellix_api.edit_blacklist() `

### Delete Blacklist - Blacklist ID = blacklist ID (required)

` sellix_api.delete_blacklist() `

### Get blacklists ` Get all blacklists: sellix_api.list_blacklists() Get blacklist by ID: sellix_api.get_blacklist(blacklist_id) `

## Todo - Payments

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sellix-py-api-wrapper-1.1.0.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sellix_py_api_wrapper-1.1.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file sellix-py-api-wrapper-1.1.0.tar.gz.

File metadata

  • Download URL: sellix-py-api-wrapper-1.1.0.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7

File hashes

Hashes for sellix-py-api-wrapper-1.1.0.tar.gz
Algorithm Hash digest
SHA256 f5a2419a24404da251c033b94b5cd9abce6879cc435cf0747f2bf2bb043e55a7
MD5 e1aceff305f4ccfff030724828660951
BLAKE2b-256 b800a000089b0bf17811da7f8f47b9269009ed77a86165a14c57f0e6854a67c7

See more details on using hashes here.

File details

Details for the file sellix_py_api_wrapper-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: sellix_py_api_wrapper-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7

File hashes

Hashes for sellix_py_api_wrapper-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 48538cde84aef53d64dc6d7d398dd5d9c3f3737b53f4a4761824b81d29b73586
MD5 e7870b102fc11fc3f4ce197084d6de73
BLAKE2b-256 1ea9417bb8dc84e30e3f2813df647400fc1706f66abba5070ed7e04f1a3a695c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page