İçeriğe geç
14 gün ücretsiz deneyin
Türkçe
Claude ile aç Bu sayfa hakkında soru sorChatGPT ile aç Bu sayfa hakkında soru sor

API test sitesi

Temel URLhttps://wholesale.samita.io/api/v1

GET/wholesale-pricings

Get list wholesale pricings

Parametreler

AdKonumTürAçıklama
queryquerystring
limitqueryinteger
statusquerystring
sortquerystringŞunlardan biri: decrease, ascrease

Yanıtlar

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

POST/wholesale-pricings

Create wholesale pricing

İstek gövdesi

AlanTürAçıklama
titlestring
statusbooleanŞunlardan biri: true, false
apply_customerobject
apply_customer.typestringŞunlardan biri: all, logged, non-logged, customer-tags
apply_customer.tagsstring[]
exclude_customerobject
exclude_customer.typestringŞunlardan biri: none, customer-tags
exclude_customer.tagsstring[]
apply_productobject
apply_product.typestringŞunlardan biri: all, products, collections, product-tags
apply_product.product_idsinteger (int64)[]
apply_product.product_tagsstring[]
apply_product.collection_idsinteger (int64)[]
apply_product.apply_for_variantsbooleanŞunlardan biri: true, false
exclude_productobject
exclude_product.typestringŞunlardan biri: none, products, collections
exclude_product.product_idsinteger (int64)[]
exclude_product.collection_idsinteger (int64)[]
discount_for_variantsobject[]
discount_for_variants[].idzorunluinteger (int64)
discount_for_variants[].variant_pricingzorunlubooleanŞunlardan biri: true, false
discount_for_variants[].variantszorunluobject[]
discount_for_variants[].variants[].idzorunluinteger (int64)
discount_for_variants[].variants[].discount_groupszorunluobject[]
discount_for_variants[].variants[].discount_groups[].namezorunlustring
discount_for_variants[].variants[].discount_groups[].typezorunlustringŞunlardan biri: percent, amount, fixed-amount
discount_for_variants[].variants[].discount_groups[].valuezorunlustring
apply_marketobject
apply_market.typestringŞunlardan biri: all, specific-market
apply_market.handlestring[]
discount_groupobject
discount_group.typestringŞunlardan biri: percent, amount, fixed-amount
discount_group.valuestring
active_dateobject
active_date.typesstring[]Şunlardan biri: start_date, end_date
active_date.start_atstring
active_date.end_atstring

Yanıtlar

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

GET/wholesale-pricings/{id}

Get wholesale pricing with ID

Parametreler

AdKonumTürAçıklama
idzorunlupathinteger

Yanıtlar

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

PUT/wholesale-pricings/{id}

Update wholesale pricing

İstek gövdesi

AlanTürAçıklama
titlestring
statusbooleanŞunlardan biri: true, false
apply_customerobject
apply_customer.typestringŞunlardan biri: all, logged, non-logged, customer-tags
apply_customer.tagsstring[]
exclude_customerobject
exclude_customer.typestringŞunlardan biri: none, customer-tags
exclude_customer.tagsstring[]
apply_productobject
apply_product.typestringŞunlardan biri: all, products, collections, product-tags
apply_product.product_idsinteger (int64)[]
apply_product.product_tagsstring[]
apply_product.collection_idsinteger (int64)[]
apply_product.apply_for_variantsbooleanŞunlardan biri: true, false
exclude_productobject
exclude_product.typestringŞunlardan biri: none, products, collections
exclude_product.product_idsinteger (int64)[]
exclude_product.collection_idsinteger (int64)[]
discount_for_variantsobject[]
discount_for_variants[].idzorunluinteger (int64)
discount_for_variants[].variant_pricingzorunlubooleanŞunlardan biri: true, false
discount_for_variants[].variantszorunluobject[]
discount_for_variants[].variants[].idzorunluinteger (int64)
discount_for_variants[].variants[].discount_groupszorunluobject[]
discount_for_variants[].variants[].discount_groups[].namezorunlustring
discount_for_variants[].variants[].discount_groups[].typezorunlustringŞunlardan biri: percent, amount, fixed-amount
discount_for_variants[].variants[].discount_groups[].valuezorunlustring
apply_marketobject
apply_market.typestringŞunlardan biri: all, specific-market
apply_market.handlestring[]
discount_groupobject
discount_group.typestringŞunlardan biri: percent, amount, fixed-amount
discount_group.valuestring
active_dateobject
active_date.typesstring[]Şunlardan biri: start_date, end_date
active_date.start_atstring
active_date.end_atstring

Yanıtlar

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

DELETE/wholesale-pricings/{ids}

Delete wholesale pricing by IDs

Parametreler

AdKonumTürAçıklama
idszorunlupathinteger

Yanıtlar

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

Bu sayfa yardımcı oldu mu?