The POS Profile object
Attributes
Unique identifier for the object.
ISO 8601 timestamp of when the object was created.
ISO 8601 timestamp of when the object was last updated.
Default: false
Default: Grand Total
Default: false
Default: true
Default: false
Default: false
Default: false
Default: false
Default: false
Default: false
Default: 1
Default: false
Default: false
Default: true
Default: Always Ask
Default: false
Default: false
{
"id": "p-o-s-profile_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"disabled": false,
"customer": "customer_example",
"company": "Example Corp",
"country": "country_example",
"company_address": "Example Corp",
"letter_head": "letter_head_example",
"tc_name": "tc_name_example",
"select_print_heading": "select_print_heading_example",
"selling_price_list": "selling_price_list_example",
"currency": "USD",
"write_off_account": "write_off_account_example",
"write_off_cost_center": "write_off_cost_center_example",
"account_for_change_amount": "account_for_change_amount_example",
"income_account": "income_account_example",
"expense_account": "expense_account_example",
"cost_center": "cost_center_example",
"taxes_and_charges": "taxes_and_charges_example",
"apply_discount_on": "Grand Total",
"tax_category": "tax_category_example",
"print_format": "print_format_example",
"warehouse": "warehouse_example",
"ignore_pricing_rule": false,
"update_stock": true,
"hide_unavailable_items": false,
"hide_images": false,
"auto_add_item_to_cart": false,
"allow_rate_change": false,
"allow_discount_change": false,
"validate_stock_on_save": false,
"write_off_limit": 1,
"disable_rounded_total": false,
"utm_campaign": "utm_campaign_example",
"utm_source": "utm_source_example",
"utm_medium": "utm_medium_example",
"print_receipt_on_order_complete": false,
"project": "project_example",
"set_grand_total_to_default_mop": true,
"action_on_new_invoice": "Always Ask",
"allow_partial_payment": false,
"allow_warehouse_change": false
} /api/accounts/p-o-s-profile/{id} Retrieve a pos profile
Retrieves the details of an existing pos profile. Supply the unique pos profile ID that was returned from a previous request.
Path parameters
The identifier of the pos profile to retrieve.
Returns
Returns the pos profile object if a valid identifier was provided.
curl https://api.overplane.dev/api/accounts/p-o-s-profile/p-o-s-profile_abc123 \
-H "Authorization: Bearer sk_test_..." {
"id": "p-o-s-profile_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"disabled": false,
"customer": "customer_example",
"company": "Example Corp",
"country": "country_example",
"company_address": "Example Corp",
"letter_head": "letter_head_example",
"tc_name": "tc_name_example",
"select_print_heading": "select_print_heading_example",
"selling_price_list": "selling_price_list_example",
"currency": "USD",
"write_off_account": "write_off_account_example",
"write_off_cost_center": "write_off_cost_center_example",
"account_for_change_amount": "account_for_change_amount_example",
"income_account": "income_account_example",
"expense_account": "expense_account_example",
"cost_center": "cost_center_example",
"taxes_and_charges": "taxes_and_charges_example",
"apply_discount_on": "Grand Total",
"tax_category": "tax_category_example",
"print_format": "print_format_example",
"warehouse": "warehouse_example",
"ignore_pricing_rule": false,
"update_stock": true,
"hide_unavailable_items": false,
"hide_images": false,
"auto_add_item_to_cart": false,
"allow_rate_change": false,
"allow_discount_change": false,
"validate_stock_on_save": false,
"write_off_limit": 1,
"disable_rounded_total": false,
"utm_campaign": "utm_campaign_example",
"utm_source": "utm_source_example",
"utm_medium": "utm_medium_example",
"print_receipt_on_order_complete": false,
"project": "project_example",
"set_grand_total_to_default_mop": true,
"action_on_new_invoice": "Always Ask",
"allow_partial_payment": false,
"allow_warehouse_change": false
} /api/accounts/p-o-s-profile List all pos profiles
Returns a list of pos profiles. The results are sorted by creation date, with the most recently created appearing first.
Query parameters
Maximum number of objects to return. Default: 20.
Number of objects to skip for pagination. Default: 0.
Returns
A paginated list of pos profile objects.
curl https://api.overplane.dev/api/accounts/p-o-s-profile \
-H "Authorization: Bearer sk_test_..." {
"data": [
{
"id": "p-o-s-profile_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"disabled": false,
"customer": "customer_example",
"company": "Example Corp",
"country": "country_example",
"company_address": "Example Corp",
"letter_head": "letter_head_example",
"tc_name": "tc_name_example",
"select_print_heading": "select_print_heading_example",
"selling_price_list": "selling_price_list_example",
"currency": "USD",
"write_off_account": "write_off_account_example",
"write_off_cost_center": "write_off_cost_center_example",
"account_for_change_amount": "account_for_change_amount_example",
"income_account": "income_account_example",
"expense_account": "expense_account_example",
"cost_center": "cost_center_example",
"taxes_and_charges": "taxes_and_charges_example",
"apply_discount_on": "Grand Total",
"tax_category": "tax_category_example",
"print_format": "print_format_example",
"warehouse": "warehouse_example",
"ignore_pricing_rule": false,
"update_stock": true,
"hide_unavailable_items": false,
"hide_images": false,
"auto_add_item_to_cart": false,
"allow_rate_change": false,
"allow_discount_change": false,
"validate_stock_on_save": false,
"write_off_limit": 1,
"disable_rounded_total": false,
"utm_campaign": "utm_campaign_example",
"utm_source": "utm_source_example",
"utm_medium": "utm_medium_example",
"print_receipt_on_order_complete": false,
"project": "project_example",
"set_grand_total_to_default_mop": true,
"action_on_new_invoice": "Always Ask",
"allow_partial_payment": false,
"allow_warehouse_change": false
}
],
"has_more": false,
"total": 1
} /api/accounts/p-o-s-profile Create a pos profile
Creates a new pos profile object.
Body parameters
Default: false
Default: Grand Total
Default: false
Default: true
Default: false
Default: false
Default: false
Default: false
Default: false
Default: false
Default: 1
Default: false
Default: false
Default: true
Default: Always Ask
Default: false
Default: false
Returns
Returns the newly created pos profile object if the call succeeded.
curl https://api.overplane.dev/api/accounts/p-o-s-profile \
-H "Authorization: Bearer sk_test_..." \
-X POST \
-H "Content-Type: application/json" \
-d '{"company":"Example Corp","currency":"USD","write_off_account":"write_off_account_example","write_off_cost_center":"write_off_cost_center_example","warehouse":"warehouse_example"}' {
"id": "p-o-s-profile_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"disabled": false,
"customer": "customer_example",
"company": "Example Corp",
"country": "country_example",
"company_address": "Example Corp",
"letter_head": "letter_head_example",
"tc_name": "tc_name_example",
"select_print_heading": "select_print_heading_example",
"selling_price_list": "selling_price_list_example",
"currency": "USD",
"write_off_account": "write_off_account_example",
"write_off_cost_center": "write_off_cost_center_example",
"account_for_change_amount": "account_for_change_amount_example",
"income_account": "income_account_example",
"expense_account": "expense_account_example",
"cost_center": "cost_center_example",
"taxes_and_charges": "taxes_and_charges_example",
"apply_discount_on": "Grand Total",
"tax_category": "tax_category_example",
"print_format": "print_format_example",
"warehouse": "warehouse_example",
"ignore_pricing_rule": false,
"update_stock": true,
"hide_unavailable_items": false,
"hide_images": false,
"auto_add_item_to_cart": false,
"allow_rate_change": false,
"allow_discount_change": false,
"validate_stock_on_save": false,
"write_off_limit": 1,
"disable_rounded_total": false,
"utm_campaign": "utm_campaign_example",
"utm_source": "utm_source_example",
"utm_medium": "utm_medium_example",
"print_receipt_on_order_complete": false,
"project": "project_example",
"set_grand_total_to_default_mop": true,
"action_on_new_invoice": "Always Ask",
"allow_partial_payment": false,
"allow_warehouse_change": false
} /api/accounts/p-o-s-profile/{id} Update a pos profile
Updates the specified pos profile by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
Path parameters
The identifier of the pos profile to update.
Body parameters
Default: false
Default: Grand Total
Default: false
Default: true
Default: false
Default: false
Default: false
Default: false
Default: false
Default: false
Default: 1
Default: false
Default: false
Default: true
Default: Always Ask
Default: false
Default: false
Returns
Returns the updated pos profile object.
curl https://api.overplane.dev/api/accounts/p-o-s-profile/p-o-s-profile_abc123 \
-H "Authorization: Bearer sk_test_..." \
-X PATCH \
-H "Content-Type: application/json" \
-d '{"disabled":false,"customer":"customer_example"}' {
"id": "p-o-s-profile_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"disabled": false,
"customer": "customer_example",
"company": "Example Corp",
"country": "country_example",
"company_address": "Example Corp",
"letter_head": "letter_head_example",
"tc_name": "tc_name_example",
"select_print_heading": "select_print_heading_example",
"selling_price_list": "selling_price_list_example",
"currency": "USD",
"write_off_account": "write_off_account_example",
"write_off_cost_center": "write_off_cost_center_example",
"account_for_change_amount": "account_for_change_amount_example",
"income_account": "income_account_example",
"expense_account": "expense_account_example",
"cost_center": "cost_center_example",
"taxes_and_charges": "taxes_and_charges_example",
"apply_discount_on": "Grand Total",
"tax_category": "tax_category_example",
"print_format": "print_format_example",
"warehouse": "warehouse_example",
"ignore_pricing_rule": false,
"update_stock": true,
"hide_unavailable_items": false,
"hide_images": false,
"auto_add_item_to_cart": false,
"allow_rate_change": false,
"allow_discount_change": false,
"validate_stock_on_save": false,
"write_off_limit": 1,
"disable_rounded_total": false,
"utm_campaign": "utm_campaign_example",
"utm_source": "utm_source_example",
"utm_medium": "utm_medium_example",
"print_receipt_on_order_complete": false,
"project": "project_example",
"set_grand_total_to_default_mop": true,
"action_on_new_invoice": "Always Ask",
"allow_partial_payment": false,
"allow_warehouse_change": false
} /api/accounts/p-o-s-profile/{id} Delete a pos profile
Permanently deletes a pos profile. This cannot be undone.
Path parameters
The identifier of the pos profile to delete.
Returns
Returns a confirmation that the pos profile has been deleted.
curl https://api.overplane.dev/api/accounts/p-o-s-profile/p-o-s-profile_abc123 \
-H "Authorization: Bearer sk_test_..." \
-X DELETE {
"id": "p-o-s-profile_abc123",
"deleted": true
}