Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(docs): Updated API Reference (v2) #77

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
curl -X POST '{backend_url}/admin/orders/{id}/fulfillments/{fulfillment_id}/mark-as-delivered' \
-H 'Authorization: Bearer {access_token}'
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
type: object
description: The promotion's application method.
x-schemaName: AdminApplicationMethod
required:
- id
properties:
promotion:
type: object
description: The application method's promotion.
x-schemaName: AdminPromotion
required:
- id
properties:
application_method:
type: object
description: The promotion's application method.
x-schemaName: AdminApplicationMethod
rules:
type: array
description: The promotion's rules.
items:
type: object
description: The rule's rules.
x-schemaName: AdminPromotionRule
id:
type: string
title: id
description: The promotion's ID.
code:
type: string
title: code
description: The promotion's code.
type:
oneOf:
- type: string
title: type
description: The promotion's type.
- type: string
title: type
description: The promotion's type.
is_automatic:
type: boolean
title: is_automatic
description: The promotion's is automatic.
campaign_id:
type: string
title: campaign_id
description: The promotion's campaign id.
campaign:
type: object
description: The promotion's campaign.
x-schemaName: AdminCampaign
target_rules:
type: array
description: The application method's target rules.
items:
$ref: ./AdminPromotionRule.yaml
buy_rules:
type: array
description: The application method's buy rules.
items:
$ref: ./AdminPromotionRule.yaml
id:
type: string
title: id
description: The application method's ID.
type:
oneOf:
- type: string
title: type
description: The application method's type.
- type: string
title: type
description: The application method's type.
target_type:
oneOf:
- type: string
title: target_type
description: The application method's target type.
- type: string
title: target_type
description: The application method's target type.
- type: string
title: target_type
description: The application method's target type.
allocation:
oneOf:
- type: string
title: allocation
description: The application method's allocation.
- type: string
title: allocation
description: The application method's allocation.
value:
type: number
title: value
description: The application method's value.
currency_code:
type: string
title: currency_code
description: The application method's currency code.
max_quantity:
type: number
title: max_quantity
description: The application method's max quantity.
buy_rules_min_quantity:
type: number
title: buy_rules_min_quantity
description: The application method's buy rules min quantity.
apply_to_quantity:
type: number
title: apply_to_quantity
description: The application method's apply to quantity.

This file was deleted.

Loading