콘텐츠로 이동
14일 무료 체험
한국어
Claude에서 열기 이 페이지에 대해 질문하기ChatGPT에서 열기 이 페이지에 대해 질문하기

API 테스트 사이트

기본 URLhttps://wholesale.samita.io/api/v1

GET/volume-pricings

Get list volume pricings

매개변수

이름위치유형설명
queryquerystring
limitqueryinteger
statusquerystring
sortquerystring다음 중 하나: decrease, ascrease

응답

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

POST/volume-pricings

Create volume pricing

요청 본문

필드유형설명
titlestring
statusboolean다음 중 하나: true, false
typestring
apply_customerobject
apply_customer.typestring다음 중 하나: all, logged, non-logged, customer-tags
apply_customer.tagsstring[]
exclude_customerobject
exclude_customer.typestring다음 중 하나: none, customer-tags
exclude_customer.tagsany[]
apply_productobject
apply_product.typestring다음 중 하나: all, products, collections, product-tags
apply_product.product_idsinteger (int64)[]
apply_product.product_tagsstring[]
apply_product.collection_idsinteger (int64)[]
apply_product.apply_for_variantsboolean다음 중 하나: true, false
exclude_productobject
exclude_product.typestring다음 중 하나: none, products, collections
exclude_product.product_idsinteger (int64)[]
exclude_product.collection_idsinteger (int64)[]
discount_for_variantsobject[]
discount_for_variants[].id필수integer (int64)
discount_for_variants[].duplicatedboolean다음 중 하나: true, false
discount_for_variants[].variant_pricing필수boolean다음 중 하나: true, false
discount_for_variants[].from_qtystring
discount_for_variants[].from_amountstring
discount_for_variants[].to_qtystring
discount_for_variants[].to_amountstring
discount_for_variants[].discount_groupsobject[]
discount_for_variants[].discount_groups[].name필수string
discount_for_variants[].discount_groups[].type필수string다음 중 하나: percent, amount, fixed-amount
discount_for_variants[].discount_groups[].value필수string
discount_for_variants[].variants필수object[]
discount_for_variants[].variants[].id필수integer (int64)
discount_for_variants[].variants[].duplicatedboolean다음 중 하나: true, false
discount_for_variants[].variants[].from_qtystringVolume pricing type is quantity
discount_for_variants[].variants[].from_amountstringVolume pricing type is amount
discount_for_variants[].variants[].to_qtystringVolume pricing type is quantity
discount_for_variants[].variants[].to_amountstringVolume pricing type is amount
discount_for_variants[].variants[].discount_groups필수object[]
discount_for_variants[].variants[].discount_groups[].name필수string
discount_for_variants[].variants[].discount_groups[].type필수string다음 중 하나: percent, amount, fixed-amount
discount_for_variants[].variants[].discount_groups[].value필수string
apply_marketobject
apply_market.typestring다음 중 하나: all, specific-market
apply_market.handlestring[]
discount_methodstring
discount_groupsobject[]
discount_groups[].from_qtystringVolume pricing type is quantity
discount_groups[].from_amountstringVolume pricing type is amount
discount_groups[].to_qtystringVolume pricing type is quantity
discount_groups[].to_amountstringVolume pricing type is amount
discount_groups[].typestring다음 중 하나: percent, amount, fixed-amount
discount_groups[].valuestring
active_dateobject
active_date.typesstring[]다음 중 하나: start_date, end_date
active_date.start_atstring
active_date.end_atstring

응답

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

GET/volume-pricings/{id}

Get volume pricing with ID

매개변수

이름위치유형설명
id필수pathinteger

응답

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

PUT/volume-pricings/{id}

Update volume pricing

요청 본문

필드유형설명
titlestring
statusboolean다음 중 하나: true, false
typestring
apply_customerobject
apply_customer.typestring다음 중 하나: all, logged, non-logged, customer-tags
apply_customer.tagsstring[]
exclude_customerobject
exclude_customer.typestring다음 중 하나: none, customer-tags
exclude_customer.tagsany[]
apply_productobject
apply_product.typestring다음 중 하나: all, products, collections, product-tags
apply_product.product_idsinteger (int64)[]
apply_product.product_tagsstring[]
apply_product.collection_idsinteger (int64)[]
apply_product.apply_for_variantsboolean다음 중 하나: true, false
exclude_productobject
exclude_product.typestring다음 중 하나: none, products, collections
exclude_product.product_idsinteger (int64)[]
exclude_product.collection_idsinteger (int64)[]
discount_for_variantsobject[]
discount_for_variants[].id필수integer (int64)
discount_for_variants[].duplicatedboolean다음 중 하나: true, false
discount_for_variants[].variant_pricing필수boolean다음 중 하나: true, false
discount_for_variants[].from_qtystring
discount_for_variants[].from_amountstring
discount_for_variants[].to_qtystring
discount_for_variants[].to_amountstring
discount_for_variants[].discount_groupsobject[]
discount_for_variants[].discount_groups[].name필수string
discount_for_variants[].discount_groups[].type필수string다음 중 하나: percent, amount, fixed-amount
discount_for_variants[].discount_groups[].value필수string
discount_for_variants[].variants필수object[]
discount_for_variants[].variants[].id필수integer (int64)
discount_for_variants[].variants[].duplicatedboolean다음 중 하나: true, false
discount_for_variants[].variants[].from_qtystringVolume pricing type is quantity
discount_for_variants[].variants[].from_amountstringVolume pricing type is amount
discount_for_variants[].variants[].to_qtystringVolume pricing type is quantity
discount_for_variants[].variants[].to_amountstringVolume pricing type is amount
discount_for_variants[].variants[].discount_groups필수object[]
discount_for_variants[].variants[].discount_groups[].name필수string
discount_for_variants[].variants[].discount_groups[].type필수string다음 중 하나: percent, amount, fixed-amount
discount_for_variants[].variants[].discount_groups[].value필수string
apply_marketobject
apply_market.typestring다음 중 하나: all, specific-market
apply_market.handlestring[]
discount_methodstring
discount_groupsobject[]
discount_groups[].from_qtystringVolume pricing type is quantity
discount_groups[].from_amountstringVolume pricing type is amount
discount_groups[].to_qtystringVolume pricing type is quantity
discount_groups[].to_amountstringVolume pricing type is amount
discount_groups[].typestring다음 중 하나: percent, amount, fixed-amount
discount_groups[].valuestring
active_dateobject
active_date.typesstring[]다음 중 하나: start_date, end_date
active_date.start_atstring
active_date.end_atstring

응답

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

DELETE/volume-pricings/{ids}

Delete volume pricing by IDs

매개변수

이름위치유형설명
ids필수pathinteger

응답

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

도움이 되었나요?