Zum Inhalt springen
14 Tage kostenlos testen
Deutsch
English简体中文繁體中文ČeštinaBald verfügbarDanskBald verfügbarNederlandsSuomiBald verfügbarFrançaisDeutschItaliano日本語한국어Norsk bokmålBald verfügbarPolskiPortuguêsEspañolSvenskaTürkçe
In Claude öffnen Fragen zu dieser Seite stellenIn ChatGPT öffnen Fragen zu dieser Seite stellen

API-Testseite

Basis-URLhttps://wholesale.samita.io/api/v1

GET/wholesale-pricings

Get list wholesale pricings

Parameter

NameOrtTypBeschreibung
queryquerystring
limitqueryinteger
statusquerystring
sortquerystringEiner von: decrease, ascrease

Antworten

  • 200A list of wholesale pricings
  • 401Unauthorized
  • 403This action is unauthorized
  • 429Too Many Requests

POST/wholesale-pricings

Create wholesale pricing

Request-Body

FeldTypBeschreibung
titlestring
statusbooleanEiner von: true, false
apply_customerobject
apply_customer.typestringEiner von: all, logged, non-logged, customer-tags
apply_customer.tagsstring[]
exclude_customerobject
exclude_customer.typestringEiner von: none, customer-tags
exclude_customer.tagsstring[]
apply_productobject
apply_product.typestringEiner von: all, products, collections, product-tags
apply_product.product_idsinteger (int64)[]
apply_product.product_tagsstring[]
apply_product.collection_idsinteger (int64)[]
apply_product.apply_for_variantsbooleanEiner von: true, false
exclude_productobject
exclude_product.typestringEiner von: none, products, collections
exclude_product.product_idsinteger (int64)[]
exclude_product.collection_idsinteger (int64)[]
discount_for_variantsobject[]
discount_for_variants[].iderforderlichinteger (int64)
discount_for_variants[].variant_pricingerforderlichbooleanEiner von: true, false
discount_for_variants[].variantserforderlichobject[]
discount_for_variants[].variants[].iderforderlichinteger (int64)
discount_for_variants[].variants[].discount_groupserforderlichobject[]
discount_for_variants[].variants[].discount_groups[].nameerforderlichstring
discount_for_variants[].variants[].discount_groups[].typeerforderlichstringEiner von: percent, amount, fixed-amount
discount_for_variants[].variants[].discount_groups[].valueerforderlichstring
apply_marketobject
apply_market.typestringEiner von: all, specific-market
apply_market.handlestring[]
discount_groupobject
discount_group.typestringEiner von: percent, amount, fixed-amount
discount_group.valuestring
active_dateobject
active_date.typesstring[]Einer von: start_date, end_date
active_date.start_atstring
active_date.end_atstring

Antworten

  • 200A wholesale pricing
  • 401Unauthorized
  • 403This action is unauthorized
  • 429Too Many Requests

GET/wholesale-pricings/{id}

Get wholesale pricing with ID

Parameter

NameOrtTypBeschreibung
iderforderlichpathinteger

Antworten

  • 200A wholesale pricing
  • 401Unauthorized
  • 403This action is unauthorized
  • 404Wholesale pricing not found
  • 429Too Many Requests

PUT/wholesale-pricings/{id}

Update wholesale pricing

Request-Body

FeldTypBeschreibung
titlestring
statusbooleanEiner von: true, false
apply_customerobject
apply_customer.typestringEiner von: all, logged, non-logged, customer-tags
apply_customer.tagsstring[]
exclude_customerobject
exclude_customer.typestringEiner von: none, customer-tags
exclude_customer.tagsstring[]
apply_productobject
apply_product.typestringEiner von: all, products, collections, product-tags
apply_product.product_idsinteger (int64)[]
apply_product.product_tagsstring[]
apply_product.collection_idsinteger (int64)[]
apply_product.apply_for_variantsbooleanEiner von: true, false
exclude_productobject
exclude_product.typestringEiner von: none, products, collections
exclude_product.product_idsinteger (int64)[]
exclude_product.collection_idsinteger (int64)[]
discount_for_variantsobject[]
discount_for_variants[].iderforderlichinteger (int64)
discount_for_variants[].variant_pricingerforderlichbooleanEiner von: true, false
discount_for_variants[].variantserforderlichobject[]
discount_for_variants[].variants[].iderforderlichinteger (int64)
discount_for_variants[].variants[].discount_groupserforderlichobject[]
discount_for_variants[].variants[].discount_groups[].nameerforderlichstring
discount_for_variants[].variants[].discount_groups[].typeerforderlichstringEiner von: percent, amount, fixed-amount
discount_for_variants[].variants[].discount_groups[].valueerforderlichstring
apply_marketobject
apply_market.typestringEiner von: all, specific-market
apply_market.handlestring[]
discount_groupobject
discount_group.typestringEiner von: percent, amount, fixed-amount
discount_group.valuestring
active_dateobject
active_date.typesstring[]Einer von: start_date, end_date
active_date.start_atstring
active_date.end_atstring

Antworten

  • 200A wholesale pricing
  • 401Unauthorized
  • 403This action is unauthorized
  • 429Too Many Requests

DELETE/wholesale-pricings/{ids}

Delete wholesale pricing by IDs

Parameter

NameOrtTypBeschreibung
idserforderlichpathinteger

Antworten

  • 200Delete wholesale pricings
  • 401Unauthorized
  • 403This action is unauthorized
  • 404Wholesale pricing not found
  • 429Too Many Requests

War diese Seite hilfreich?