Aşağıdaki eğitimde, bir hizmetin fiyatlandırmasını ilgili personel üyesine veya günün saatine ve/veya haftanın gününe göre farklılaştırmak için feed'lerinizi nasıl uygulamanız gerektiği açıklanmaktadır.
Personel başına ücret/zaman
Ayarlanması gereken 4 şey var:
Satıcı feed'inde, her fiyat seçeneği için bir
Merchant.payment_option
belirleyin- İstenen
price
değerini belirli zaman/çalışan için hizmet fiyatına ayarlayın. payment_option_id
değerleri, aynı toplayıcıya sahip tüm satıcılar arasında paylaşıldığındanpayment_option_id
entegrasyonunuz genelinde benzersiz olmalıdır. Karışıklığı önlemek ve sorun giderme ile yönetimi basitleştirmek için bu satıcının kullandığı tümpayment_option
değerlerini benzersiz birpayment_option_id
ile (başka bir satıcı tarafından aynıpayment_option
kullanılsa bile) yeniden tanımlamanızı öneririz.- Personel başına fiyat söz konusu olduğunda, takibi daha kolay yapmak ve
payment_option_id
öğesinin tüm entegrasyonunuzda benzersiz olmasını sağlamak içinpayment_option_id
öğesinimerchant_id
,service_id
vestaff_id
ile birlikte oluşturmanızı öneririz. - Zaman başına fiyat söz konusu olduğunda, daha kolay takip edebilmek ve
payment_option_id
öğesinin tüm entegrasyonunuzda benzersiz olmasını sağlamak içinpayment_option_id
özelliğinimerchant_id
,service_id
ve bu zamanı temsil eden bir dizenin (evening
,weekends
,sundayafternoon
...) kombinasyonu olarak oluşturmanızı öneririz.
- Stok durumu düzeyinde fiyatlandırma için kullanıldığında (bu eğiticinin kullanım alanı) ad ve açıklama genellikle hata ayıklama amacıyla kullanılır
- Tek bir satıcı için 100'den fazla
payment_option
değeri ayarlamayın.payment_option
değerinin 100'ün üzerinde olmasını bekliyorsanız lütfen bu uygulamayı Google temsilciniz tarafından çalıştırın - Bu kullanım alanı için diğer tüm
payment_option
alanları yoksayılabilir
- Personel başına fiyat söz konusu olduğunda, takibi daha kolay yapmak ve
- İstenen
Stok durumu feed'inde,
Merchant
düzeyinde tanımladığınızpayment_option
öğesininpayment_option_id
değeri ileAvailability.payment_option_id
değerini tek bir öğe dizisi olarak ayarlayın.Hizmet feed'inde,
Service.price
özelliğini bu hizmetin fiyat aralığının en düşük değerine veService.price_interpretation
değeriniSTARTS_AT
olarak ayarlayın.
Personel başına fiyat örneği
Bu örnekte, Robert (kimlik: 1) Canan'dan (kimlik: 2) daha deneyimli bir kuafördür. Bu nedenle, salon sahibi Mehmet için 5 TL daha pahalı bir rezervasyon yaptırmaya karar vermiştir. Varsayılan olarak kısa saç kesiminin maliyeti 20 ABD doları, uzun saç kesiminin maliyeti ise 30 ABD dolarıdır. Kullanıcı Robert'ı seçerse, kesimin maliyeti sırasıyla 25 TL veya 35 TL olur.
Çalışanların Adı | Kısa saç kesimi | Uzun saç kesimi |
---|---|---|
Ayşe | $20* | $30* |
Remzi | Hong Kong doları | $35 |
*hizmet için varsayılan fiyat
Satıcılar
{ "metadata": { "processing_instruction": "PROCESS_AS_COMPLETE", "generation_timestamp": 1503638100, "total_shards": 1 }, "merchant": [ { "category": "beauty_salon", "merchant_id": "beauty-per-staff-price", "name": "Beauty Salon", "url": "www.merchantspublicsite.com", "telephone": "+1 123-456-7890", "geo": { "latitude": 37.422113, "longitude": -122.084041, "address": { "locality": "Mountain View", "country": "US", "region": "CA", "street_address": "1600 Amphitheatre Pkwy", "postal_code": "94043" } }, "payment_option": [ { "payment_option_id": "beauty-per-staff-price-haircut-short-1", "name": "Short haircut (Robert)", "description": "Short hair haircut price for Robert", "price": { "currency_code": "USD", "price_micros": 25000000 } }, { "payment_option_id": "beauty-per-staff-price-haircut-short-default", "name": "Short haircut (Default)", "description": "Normal short hair haircut price", "price": { "currency_code": "USD", "price_micros": 20000000 } }, { "payment_option_id": "beauty-per-staff-price-haircut-long-1", "name": "Long haircut (Robert)", "description": "Long hair haircut price for Robert", "price": { "currency_code": "USD", "price_micros": 35000000 } }, { "payment_option_id": "beauty-per-staff-price-haircut-long-default", "name": "Long haircut (Default)", "description": "Normal long hair haircut price", "price": { "currency_code": "USD", "price_micros": 30000000 } } ] } ] }
Hizmetler
{ "metadata": { "processing_instruction": "PROCESS_AS_COMPLETE", "generation_timestamp": 1535437200, "total_shards": 1 }, "service": [ { "service_id": "haircut-short", "prepayment_type": "NOT_SUPPORTED", "merchant_id": "beauty-per-staff-price", "price": { "currency_code": "USD", "price_micros": 20000000 }, "localized_service_name": { "value": "Haircut (shorter than shoulder)", "localized_value": [ { "locale": "en", "value": "Haircut (shorter than shoulder)" } ] }, "localized_description": { "value": "Awesome haircut for short hair", "localized_value": [ { "locale": "en", "value": "Awesome haircut for short hair" } ] } }, { "service_id": "haircut-long", "prepayment_type": "NOT_SUPPORTED", "merchant_id": "beauty-per-staff-price", "price": { "currency_code": "USD", "price_micros": 30000000 }, "localized_service_name": { "value": "Haircut (longer than shoulder)", "localized_value": [ { "locale": "en", "value": "Haircut (longer than shoulder)" } ] }, "localized_description": { "value": "Awesome haircut for long hair", "localized_value": [ { "locale": "en", "value": "Awesome haircut for long hair" } ] } } ] }
Kullanılabilirlik
{ "metadata": { "processing_instruction": "PROCESS_AS_COMPLETE", "generation_timestamp": 1535178900, "total_shards": 1 }, "service_availability": [ { "availability": [ { "spots_total": 1, "start_sec": 1535806800, "spots_open": 1, "duration_sec": 3600, "recurrence": { "repeat_until_sec": 1535846340, "repeat_every_sec": 3600 }, "service_id": "haircut-short", "merchant_id": "beauty-per-staff-price", "resources": { "staff_name": "Robert", "staff_id": "1" }, "payment_option_id": ["beauty-per-staff-price-haircut-short-1"] }, { "spots_total": 1, "start_sec": 1535806800, "spots_open": 1, "duration_sec": 3600, "recurrence": { "repeat_until_sec": 1535846340, "repeat_every_sec": 3600 }, "service_id": "haircut-long", "merchant_id": "beauty-per-staff-price", "resources": { "staff_name": "Robert", "staff_id": "1" }, "payment_option_id": ["beauty-per-staff-price-haircut-long-1"] }, { "spots_total": 1, "start_sec": 1535806800, "spots_open": 1, "duration_sec": 3600, "recurrence": { "repeat_until_sec": 1535846340, "repeat_every_sec": 3600 }, "service_id": "haircut-short", "merchant_id": "beauty-per-staff-price", "resources": { "staff_name": "Jane", "staff_id": "2" }, "payment_option_id": ["beauty-per-staff-price-haircut-short-default"] }, { "spots_total": 1, "start_sec": 1535806800, "spots_open": 1, "duration_sec": 3600, "recurrence": { "repeat_until_sec": 1535846340, "repeat_every_sec": 3600 }, "service_id": "haircut-long", "merchant_id": "beauty-per-staff-price", "resources": { "staff_name": "Jane", "staff_id": "2" }, "payment_option_id": ["beauty-per-staff-price-haircut-long-default"] } ] } ] }
Zamana göre fiyat örneği
Bu örnekte, salon 10.00'dan 20.00'a kadar açık. Kuaför salonu sahibi, 18:00'den sonraki rezervasyonlar için 5 ABD doları ek ücret eklemeye karar verdi.
Müsaitlik durumu örneği, 1 Eylül 2018 Cumartesi günü PT saat dilimine göre tanımlanmıştır. 1535821200 o gün 10:00, 1535850000 o gün 18:00 ve 1535857200 ise 20:00'dır.
Günün saati | Kısa saç kesimi | Uzun saç kesimi |
---|---|---|
10:00 ~ 11:00 | $20 | $30 |
11:00 ~ 12:00 | $20 | $30 |
12:00 ~ 13:00 | $20 | $30 |
13:00 ~ 14:00 | $20 | $30 |
14:00 ~ 15:00 | $20 | $30 |
15:00 ~ 16:00 | $20 | $30 |
16:00 ~ 17:00 | $20 | $30 |
17:00 ~ 18:00 | $20 | $30 |
18:00 ~ 19:00 | Hong Kong doları | $35 |
19:00 ~ 20:00 | Hong Kong doları | $35 |
Satıcılar
{ "metadata": { "processing_instruction": "PROCESS_AS_COMPLETE", "generation_timestamp": 1503638100, "total_shards": 1 }, "merchant": [ { "category": "beauty_salon", "merchant_id": "beauty-per-time-price", "name": "Beauty Salon", "url": "www.merchantspublicsite.com", "telephone": "+1 123-456-7890", "geo": { "latitude": 37.422113, "longitude": -122.084041, "address": { "locality": "Mountain View", "country": "US", "region": "CA", "street_address": "1600 Amphitheatre Pkwy", "postal_code": "94043" } }, "payment_option": [ { "payment_option_id": "beauty-per-time-price-haircut-short-evening", "name": "Short haircut (Evening)", "description": "Short hair haircut price for the evening", "price": { "currency_code": "USD", "price_micros": 25000000 } }, { "payment_option_id": "beauty-per-time-price-haircut-short-default", "name": "Short haircut (Normal)", "description": "Short hair haircut price for the rest of the day", "price": { "currency_code": "USD", "price_micros": 21000000 } }, { "payment_option_id": "beauty-per-time-price-haircut-long-evening", "name": "Long haircut (Evening)", "description": "Long hair haircut price for the evening", "price": { "currency_code": "USD", "price_micros": 35000000 } }, { "payment_option_id": "beauty-per-time-price-haircut-long-default", "name": "Long haircut (Normal)", "description": "Long hair haircut price for the rest of the day", "price": { "currency_code": "USD", "price_micros": 31000000 } } ] } ] }
Hizmetler
{ "metadata": { "processing_instruction": "PROCESS_AS_COMPLETE", "generation_timestamp": 1535437200, "total_shards": 1 }, "service": [ { "service_id": "haircut-short", "prepayment_type": "NOT_SUPPORTED", "merchant_id": "beauty-per-time-price", "price": { "currency_code": "USD", "price_micros": 2100000 }, "localized_service_name": { "value": "Haircut (shorter than shoulder)", "localized_value": [ { "locale": "en", "value": "Haircut (shorter than shoulder)" } ] }, "localized_description": { "value": "Awesome haircut for short hair", "localized_value": [ { "locale": "en", "value": "Awesome haircut for short hair" } ] } }, { "service_id": "haircut-long", "prepayment_type": "NOT_SUPPORTED", "merchant_id": "beauty-per-time-price", "price": { "currency_code": "USD", "price_micros": 31000000 }, "localized_service_name": { "value": "Haircut (longer than shoulder)", "localized_value": [ { "locale": "en", "value": "Haircut (longer than shoulder)" } ] }, "localized_description": { "value": "Awesome haircut for long hair", "localized_value": [ { "locale": "en", "value": "Awesome haircut for long hair" } ] } } ] }
Kullanılabilirlik
{ "metadata": { "processing_instruction": "PROCESS_AS_COMPLETE", "generation_timestamp": 1535178900, "total_shards": 1 }, "service_availability": [ { "availability": [ { "spots_total": 1, "start_sec": 1535821200, "spots_open": 1, "duration_sec": 3600, "recurrence": { "repeat_until_sec": 1535849940, "repeat_every_sec": 3600 }, "service_id": "haircut-short", "merchant_id": "beauty-per-time-price", "payment_option_id": ["beauty-per-time-price-haircut-short-default"] }, { "spots_total": 1, "start_sec": 1535821200, "spots_open": 1, "duration_sec": 3600, "recurrence": { "repeat_until_sec": 1535849940, "repeat_every_sec": 3600 }, "service_id": "haircut-long", "merchant_id": "beauty-per-time-price", "payment_option_id": ["beauty-per-time-price-haircut-long-default"] }, { "spots_total": 1, "start_sec": 1535850000, "spots_open": 1, "duration_sec": 3600, "recurrence": { "repeat_until_sec": 1535857140, "repeat_every_sec": 3600 }, "service_id": "haircut-short", "merchant_id": "beauty-per-time-price", "payment_option_id": ["beauty-per-time-price-haircut-short-evening"] }, { "spots_total": 1, "start_sec": 1535850000, "spots_open": 1, "duration_sec": 3600, "recurrence": { "repeat_until_sec": 1535857140, "repeat_every_sec": 3600 }, "service_id": "haircut-long", "merchant_id": "beauty-per-time-price", "payment_option_id": ["beauty-per-time-price-haircut-long-evening"] } ] } ] }