we have 2 questions - After successfully posted my order using API.
1) How to view my POSTED order ? we are not able to view my posted order any where.
2) how to use Required permissions ORDERS_WRITE ?
You can check my posted order response
1)
"RESPONSE" {
order = {
"created_at" = "2019-11-18T09:13:26.928Z";
discounts = (
{
"amount_money" = {
amount = 0;
currency = USD;
};
"applied_money" = {
amount = 0;
currency = USD;
};
name = "No discount";
scope = ORDER;
type = "FIXED_AMOUNT";
uid = FER55IICVxuGRJN0jxNlCC;
}
);
id = Gu1pfDZVYduozIjfkLTtqpNdaXEZY;
"line_items" = (
{
"applied_discounts" = (
{
"applied_money" = {
amount = 0;
currency = USD;
};
"discount_uid" = FER55IICVxuGRJN0jxNlCC;
uid = FER55IICVxuGRJN0jxNlCC;
}
);
"applied_taxes" = (
{
"applied_money" = {
amount = 5;
currency = USD;
};
"tax_uid" = iG78KgyJGh2VwtoKzokP8;
uid = iG78KgyJGh2VwtoKzokP8;
}
);
"base_price_money" = {
amount = 60;
currency = USD;
};
discounts = (
{
"amount_money" = {
amount = 0;
currency = USD;
};
"applied_money" = {
amount = 0;
currency = USD;
};
name = "No discount";
scope = ORDER;
type = "FIXED_AMOUNT";
uid = FER55IICVxuGRJN0jxNlCC;
}
);
"gross_sales_money" = {
amount = 60;
currency = USD;
};
name = "Cheese pizza";
quantity = 1;
taxes = (
{
"applied_money" = {
amount = 5;
currency = USD;
};
name = "Sales tax";
percentage = "8.25";
scope = ORDER;
type = ADDITIVE;
uid = iG78KgyJGh2VwtoKzokP8;
}
);
"total_discount_money" = {
amount = 0;
currency = USD;
};
"total_money" = {
amount = 65;
currency = USD;
};
"total_tax_money" = {
amount = 5;
currency = USD;
};
uid = ECGuqwyMoTNZZFegH1doh;
"variation_total_price_money" = {
amount = 60;
currency = USD;
};
}
);
"location_id" = SV3MBGD1YG763;
"net_amounts" = {
"discount_money" = {
amount = 0;
currency = USD;
};
"service_charge_money" = {
amount = 0;
currency = USD;
};
"tax_money" = {
amount = 5;
currency = USD;
};
"tip_money" = {
amount = 0;
currency = USD;
};
"total_money" = {
amount = 65;
currency = USD;
};
};
"reference_id" = "";
source = {
name = Teji;
};
state = OPEN;
taxes = (
{
"applied_money" = {
amount = 5;
currency = USD;
};
name = "Sales tax";
percentage = "8.25";
scope = ORDER;
type = ADDITIVE;
uid = iG78KgyJGh2VwtoKzokP8;
}
);
"total_discount_money" = {
amount = 0;
currency = USD;
};
"total_money" = {
amount = 65;
currency = USD;
};
"total_service_charge_money" = {
amount = 0;
currency = USD;
};
"total_tax_money" = {
amount = 5;
currency = USD;
};
"total_tip_money" = {
amount = 0;
currency = USD;
};
"updated_at" = "2019-11-18T09:13:26.928Z";
version = 1;
}
2) Second API response :
"RESPONSE" (
{
"account_capabilities" = (
"CREDIT_CARD_PROCESSING"
);
"account_type" = LOCATION;
"business_address" = {
"address_line_1" = "2100 Guadalupe St B";
"administrative_district_level_1" = TX;
"country_code" = US;
locality = Austin;
"postal_code" = 78705;
};
"business_name" = "Teji's";
"business_type" = "FOOD_STORES_CONVENIENCE_STORES_AND_SPECIALTY_MARKETS";
"country_code" = US;
"currency_code" = USD;
email = "[email protected]";
id = SV3MBGD1YG763;
"language_code" = "en-US";
"location_details" = {
nickname = "Austin Guadalupe";
};
name = "Austin Guadalupe";
"shipping_address" = {
"address_line_1" = "9616 BRIANS PATH";
"administrative_district_level_1" = TX;
"country_code" = US;
locality = AUSTIN;
"postal_code" = "78717-4147";
};
},
{
"account_capabilities" = (
"CREDIT_CARD_PROCESSING"
);
"account_type" = LOCATION;
"business_address" = {
"address_line_1" = "9616 BRIANS PATH";
"administrative_district_level_1" = TX;
"country_code" = US;
locality = AUSTIN;
"postal_code" = 78717;
};
"business_name" = ConverseNow;
"business_type" = "FOOD_STORES_CONVENIENCE_STORES_AND_SPECIALTY_MARKETS";
"country_code" = US;
"currency_code" = USD;
email = "[email protected]";
id = 4AP2BRPZN5E9C;
"language_code" = "en-US";
"location_details" = {
nickname = ConverseNow;
};
name = ConverseNow;
"shipping_address" = {
"address_line_1" = "9616 Brians Path";
"administrative_district_level_1" = TX;
"country_code" = US;
locality = Austin;
"postal_code" = "78717-4147";
};
},
{
"account_capabilities" = (
"CREDIT_CARD_PROCESSING"
);
"account_type" = LOCATION;
"business_address" = {
"address_line_1" = "1205 Round Rock Ave";
"administrative_district_level_1" = TX;
"country_code" = US;
locality = Austin;
"postal_code" = 78681;
};
"business_name" = "Teji's";
"business_type" = "FOOD_STORES_CONVENIENCE_STORES_AND_SPECIALTY_MARKETS";
"country_code" = US;
"currency_code" = USD;
email = "[email protected]";
id = NBTYWF68YEQVS;
"language_code" = "en-US";
"location_details" = {
nickname = "Round Rock";
};
name = "Round Rock";
"shipping_address" = {
"address_line_1" = "9616 BRIANS PATH";
"administrative_district_level_1" = TX;
"country_code" = US;
locality = AUSTIN;
"postal_code" = "78717-4147";
};
}
)
Hi @akshay_123! Welcome to the Community.
We reached out to our API team for an assist on this one and they said:
"Order will only appear in the Dashboard once they are paid for. They will be able to create orders but until its paid for it won't show either on the Dashboard or in the Square app."
Hope this provides some clarity for you!
Square Community