myorderapp_square 2.5.19

SDKdartflutter
Platformandroidioswindowslinuxmacosweb

A Dart client for MyOrderApp customer HTTP API

myorderapp_square (EXPERIMENTAL)

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

This Dart package is automatically generated by the OpenAPI Generator project:

  • API version: 2.5.19
  • Build package: org.openapitools.codegen.languages.DartDioClientCodegen

Requirements

Installation & Usage

pub.dev

To use the package from pub.dev, please include the following in pubspec.yaml

dependencies:
  myorderapp_square: 2.5.19

Github

If this Dart package is published to Github, please include the following in pubspec.yaml

dependencies:
  myorderapp_square:
    git:
      url: https://github.com/GIT_USER_ID/GIT_REPO_ID.git
      #ref: main

Local development

To use the package from your local drive, please include the following in pubspec.yaml

dependencies:
  myorderapp_square:
    path: /path/to/myorderapp_square

Getting Started

Please follow the installation procedure and then run the following:

import 'package:myorderapp_square/myorderapp_square.dart';


final api = MyorderappSquare().getAppConfigsApi();
final String merchantIdOrPath = merchantIdOrPath_example; // String | 
final String xCustomLang = xCustomLang_example; // String | 

try {
    final response = await api.getAppConfig(merchantIdOrPath, xCustomLang);
    print(response);
} catch on DioException (e) {
    print("Exception when calling AppConfigsApi->getAppConfig: $e\n");
}

Documentation for API Endpoints

All URIs are relative to https://api.myorderapp.dev

ClassMethodHTTP requestDescription
AppConfigsApigetAppConfigGET /v2/app-configGet Config for Merchant ID
AppConfigsApigetAppConfigMeGET /v2/app-config/meGet your Config
AppConfigsApipatchAppConfigMePATCH /v2/app-config/meUpdate your Config
AppConfigsApipostAppConfigMePOST /v2/app-config/meCreate your Config
AppConfigsApipostBannerUploadMePOST /v2/app-config/me/banner/uploadUpload banner
AppConfigsApipostIconUploadMePOST /v2/app-config/me/icon/uploadUpload icon
AuthenticationApideleteAuthMeDELETE /v2/auth/meDelete Session
AuthenticationApipatchAuthMePATCH /v2/auth/meUpdate password
AuthenticationApipostEmailConfirmPOST /v2/auth/email/confirmConfirm email
AuthenticationApipostEmailLoginPOST /v2/auth/email/loginGet access token
AuthenticationApipostEmailRegisterPOST /v2/auth/email/registerCreate User and Authorize, note: tries to login first
AuthenticationApipostLoginApplePOST /v2/auth/apple/loginApple login
AuthenticationApipostLoginGooglePOST /v2/auth/google/loginGoogle login
AuthenticationApipostPasswordForgotPOST /v2/auth/password/forgotForgot password
AuthenticationApipostPasswordResetPOST /v2/auth/password/resetReset password
AuthenticationApipostRefreshPOST /v2/auth/refreshRefresh token
CardsApideleteCardsMeDELETE /v2/square/cards/me/{id}Disable my Square Card
CardsApigetCardsMeGET /v2/square/cards/meList my Square Cards
CardsApipostCardsMePOST /v2/square/cards/meCreate my Square Card
CatalogsApigetCategoriesGET /v2/categoriesGet Categories for Merchant ID with Items, Variations, and/or ModifierLists
CatalogsApigetCategoriesItemsGET /v2/categories/{id}/itemsGet Items in Category
CatalogsApigetCategoriesMeGET /v2/categories/meGet your Categories with Items, Variations, and/or ModifierLists
CatalogsApigetItemGET /v2/items/{id}Get Item with ID
CatalogsApigetVariationsForItemGET /v2/items/{id}/variationsGet Item variations with ID
CatalogsApipatchCategoriesPATCH /v2/categoriesUpdate multiple Categories
CatalogsApipatchCategoryPATCH /v2/categories/{id}Update a Category
CatalogsApipatchItemPATCH /v2/items/{id}Update an Item
CatalogsApipatchItemsPATCH /v2/itemsUpdate multiple Items
CatalogsApipatchVariationPATCH /v2/variations/{id}Update an Variation
CatalogsApipostItemSquareImageUploadPOST /v2/items/{id}/square/image/uploadUpload Square Catalog Image
CustomersApideleteCustomerIdDELETE /v2/customers/{id}Delete Customer with ID
CustomersApideleteCustomerMeDELETE /v2/customers/meDelete current Customer
CustomersApigetCustomerMeGET /v2/customers/meGet current Customer
CustomersApigetCustomersGET /v2/customersGet my Customers
CustomersApipatchCustomerMePATCH /v2/customers/meUpdate your Customer
CustomersApipostCustomerMePOST /v2/customers/meCreate Customer for current User
CustomersApiupdateAppInstallMePOST /v2/customers/me/app-installCreate or update Customer App Install
LocationsApigetLocationGET /v2/locations/{id}Get a Location with ID
LocationsApigetLocationsGET /v2/locationsGet Locations for Merchant
LocationsApigetLocationsMeGET /v2/locations/meGet all your Locations
LocationsApipatchManyLocationsPATCH /v2/locationsUpdate Locations
LocationsApipatchOneLocationPATCH /v2/locations/{id}Update a Location
MailApipostContactPOST /v2/users/contactSend contact
MailApipostSupportPOST /v2/users/supportSend support request
MerchantsApideleteMerchantMeDELETE /v2/merchants/meDelete current Merchant
MerchantsApigetMeSquareLogoutGET /v2/merchants/me/square/logoutDelete Square Oauth
MerchantsApigetMerchantGET /v2/merchants/{idOrPath}Get Merchant
MerchantsApigetMerchantMeGET /v2/merchants/meGet current Merchant
MerchantsApigetSquareSyncMeGET /v2/merchants/me/square/syncSync your Square Catalog
MerchantsApigetStripeBillingSessionMeGET /v2/merchants/me/stripe/billing-sessionStart create billing session url
MerchantsApipostMerchantMePOST /v2/merchants/meCreate Merchant for current User
MerchantsApipostSquareOauthMePOST /v2/merchants/me/square/loginConfirm Square Oauth
MerchantsApipostStripeCheckoutMePOST /v2/merchants/me/stripe/checkoutStart Stripe checkout
OrdersApideleteLineItemCurrentDELETE /v2/orders/current/line-item/{id}Remove Line Items from Order
OrdersApideleteOrderCurrentDELETE /v2/orders/currentDelete Order
OrdersApigetOrderGET /v2/orders/{id}Get Order
OrdersApigetOrderCurrentGET /v2/orders/currentGet current Order
OrdersApigetOrderStatisticsMeGET /v2/orders/statistics/meGet your statistics
OrdersApigetOrdersGET /v2/orders/meGet my Orders
OrdersApipatchOrderCurrentPATCH /v2/orders/currentPatch update Order, e.g. modify Location
OrdersApipostOrderPOST /v2/ordersCreate Order
OrdersApipostOrderCurrentPOST /v2/orders/currentPost update Order, e.g. add Variations & Modifiers in Line Items
OrdersApipostSquarePaymentOrderCurrentPOST /v2/orders/current/payment/squarePay for Order
UsersApideleteUserMeDELETE /v2/users/me
UsersApigetUserMeGET /v2/users/me
UsersApipatchUserMePATCH /v2/users/me

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

Api-Key

  • Type: API key
  • API key parameter name: Api-Key
  • Location: HTTP header

bearer

  • Type: HTTP Bearer Token authentication (JWT)

Author