Files
PriceUpdaterAppv2/.env.example

27 lines
1.1 KiB
Plaintext

# Shopify Store Configuration
SHOPIFY_SHOP_DOMAIN=your-shop-name.myshopify.com
SHOPIFY_ACCESS_TOKEN=your-admin-api-access-token
# Price Update Configuration
TARGET_TAG=sale
# Operation Mode Configuration
# OPERATION_MODE determines whether to update prices or rollback to compare-at prices
# Options: "update" (default) or "rollback"
OPERATION_MODE=update
# Optional Configuration
# PRICE_ADJUSTMENT_PERCENTAGE can be positive (increase) or negative (decrease)
# Example: 10 = 10% increase, -15 = 15% decrease
# Note: PRICE_ADJUSTMENT_PERCENTAGE is only used in "update" mode
PRICE_ADJUSTMENT_PERCENTAGE=10
# Scheduling Configuration (Optional)
# SCHEDULED_EXECUTION_TIME allows you to schedule the price update operation for a future time
# Format: ISO 8601 datetime (YYYY-MM-DDTHH:MM:SS)
# Examples:
# SCHEDULED_EXECUTION_TIME=2024-12-25T10:30:00 # Local timezone
# SCHEDULED_EXECUTION_TIME=2024-12-25T10:30:00Z # UTC timezone
# SCHEDULED_EXECUTION_TIME=2024-12-25T10:30:00-05:00 # EST timezone
# Leave commented out or remove to execute immediately (default behavior)
# SCHEDULED_EXECUTION_TIME=2024-12-25T10:30:00