diff --git a/swagger/v1/swagger.yaml b/swagger/v1/swagger.yaml index 88d54ed960..5898f1521e 100644 --- a/swagger/v1/swagger.yaml +++ b/swagger/v1/swagger.yaml @@ -76,43 +76,51 @@ paths: parameters: - name: X-Spree-Token in: header - type: string + schema: + type: string - name: q[distributor_id_eq] in: query - type: string required: false description: Query orders for a specific distributor id. + schema: + type: string - name: q[completed_at_gt] in: query - type: string required: false description: Query orders completed after a date. + schema: + type: string - name: q[completed_at_lt] in: query - type: string required: false description: Query orders completed before a date. + schema: + type: string - name: q[state_eq] in: query - type: string required: false description: Query orders by order state, eg 'cart', 'complete'. + schema: + type: string - name: q[payment_state_eq] in: query - type: string required: false description: Query orders by order payment_state, eg 'balance_due', 'paid', 'failed'. + schema: + type: string - name: q[email_cont] in: query - type: string required: false description: Query orders where the order email contains a string. + schema: + type: string - name: q[order_cycle_id_eq] in: query - type: string required: false description: Query orders for a specific order_cycle id. + schema: + type: string responses: '200': description: get orders