Ga naar inhoud
14 dagen gratis proberen
Nederlands
Openen in Claude Stel vragen over deze paginaOpenen in ChatGPT Stel vragen over deze pagina

API-testsite

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

GET/volume-pricings

Get list volume pricings

Parameters

NaamLocatieTypeBeschrijving
queryquerystring
limitqueryinteger
statusquerystring
sortquerystringEen van: decrease, ascrease

Responses

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

POST/volume-pricings

Create volume pricing

Requestbody

VeldTypeBeschrijving
titlestring
statusbooleanEen van: true, false
typestring
apply_customerobject
apply_customer.typestringEen van: all, logged, non-logged, customer-tags
apply_customer.tagsstring[]
exclude_customerobject
exclude_customer.typestringEen van: none, customer-tags
exclude_customer.tagsany[]
apply_productobject
apply_product.typestringEen van: all, products, collections, product-tags
apply_product.product_idsinteger (int64)[]
apply_product.product_tagsstring[]
apply_product.collection_idsinteger (int64)[]
apply_product.apply_for_variantsbooleanEen van: true, false
exclude_productobject
exclude_product.typestringEen van: none, products, collections
exclude_product.product_idsinteger (int64)[]
exclude_product.collection_idsinteger (int64)[]
discount_for_variantsobject[]
discount_for_variants[].idverplichtinteger (int64)
discount_for_variants[].duplicatedbooleanEen van: true, false
discount_for_variants[].variant_pricingverplichtbooleanEen van: 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[].nameverplichtstring
discount_for_variants[].discount_groups[].typeverplichtstringEen van: percent, amount, fixed-amount
discount_for_variants[].discount_groups[].valueverplichtstring
discount_for_variants[].variantsverplichtobject[]
discount_for_variants[].variants[].idverplichtinteger (int64)
discount_for_variants[].variants[].duplicatedbooleanEen van: 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_groupsverplichtobject[]
discount_for_variants[].variants[].discount_groups[].nameverplichtstring
discount_for_variants[].variants[].discount_groups[].typeverplichtstringEen van: percent, amount, fixed-amount
discount_for_variants[].variants[].discount_groups[].valueverplichtstring
apply_marketobject
apply_market.typestringEen van: 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[].typestringEen van: percent, amount, fixed-amount
discount_groups[].valuestring
active_dateobject
active_date.typesstring[]Een van: start_date, end_date
active_date.start_atstring
active_date.end_atstring

Responses

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

GET/volume-pricings/{id}

Get volume pricing with ID

Parameters

NaamLocatieTypeBeschrijving
idverplichtpathinteger

Responses

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

PUT/volume-pricings/{id}

Update volume pricing

Requestbody

VeldTypeBeschrijving
titlestring
statusbooleanEen van: true, false
typestring
apply_customerobject
apply_customer.typestringEen van: all, logged, non-logged, customer-tags
apply_customer.tagsstring[]
exclude_customerobject
exclude_customer.typestringEen van: none, customer-tags
exclude_customer.tagsany[]
apply_productobject
apply_product.typestringEen van: all, products, collections, product-tags
apply_product.product_idsinteger (int64)[]
apply_product.product_tagsstring[]
apply_product.collection_idsinteger (int64)[]
apply_product.apply_for_variantsbooleanEen van: true, false
exclude_productobject
exclude_product.typestringEen van: none, products, collections
exclude_product.product_idsinteger (int64)[]
exclude_product.collection_idsinteger (int64)[]
discount_for_variantsobject[]
discount_for_variants[].idverplichtinteger (int64)
discount_for_variants[].duplicatedbooleanEen van: true, false
discount_for_variants[].variant_pricingverplichtbooleanEen van: 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[].nameverplichtstring
discount_for_variants[].discount_groups[].typeverplichtstringEen van: percent, amount, fixed-amount
discount_for_variants[].discount_groups[].valueverplichtstring
discount_for_variants[].variantsverplichtobject[]
discount_for_variants[].variants[].idverplichtinteger (int64)
discount_for_variants[].variants[].duplicatedbooleanEen van: 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_groupsverplichtobject[]
discount_for_variants[].variants[].discount_groups[].nameverplichtstring
discount_for_variants[].variants[].discount_groups[].typeverplichtstringEen van: percent, amount, fixed-amount
discount_for_variants[].variants[].discount_groups[].valueverplichtstring
apply_marketobject
apply_market.typestringEen van: 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[].typestringEen van: percent, amount, fixed-amount
discount_groups[].valuestring
active_dateobject
active_date.typesstring[]Een van: start_date, end_date
active_date.start_atstring
active_date.end_atstring

Responses

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

DELETE/volume-pricings/{ids}

Delete volume pricing by IDs

Parameters

NaamLocatieTypeBeschrijving
idsverplichtpathinteger

Responses

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

Was dit nuttig?